Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity Action Post-Invoke function / delegate / callback

Discussion in 'UGUI & TextMesh Pro' started by knr_, Apr 20, 2016.

  1. knr_

    knr_

    Joined:
    Nov 17, 2012
    Posts:
    258
    If we are creating something, say, a generic dialog box that is driven by data, is there any option in the Unity UI API at the moment to say "after the functions assigned to these generic Unity Actions are performed, do something (in this case, disable the dialog game object so that it is no longer rendered)", or do we have to manually write that code over and over again in every function that is being invoked from a Unity Action?

    Thanks!
     
    Last edited: Apr 20, 2016