ActivationEvents.cs

Description:

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.