Skip to main content Link Menu Expand (external link) Document Search Copy Copied



Exposes UnityEvents to the inspector that are invoked during their corralating activation messages.

Public Properties:

Type Name Description Default Value
UnityEvent onAwake Called when a script instance is being loaded.  
UnityEvent onStart Called before the first frame update.  
UnityEvent onEnable Called when the object becomes active and enabled.  
UnityEvent onDisable Called when the object becomes disabled or inactive.  
UnityEvent onDestroy Called when the MonoBehaviour will be destroyed.