Summary
Holds
UltEvents.UltEvent
s which are called by various MonoBehaviour
lifecycle events:
UltEvents.LifeCycleEvents.Awake
, UltEvents.LifeCycleEvents.Start
, UltEvents.LifeCycleEvents.OnEnable
, UltEvents.LifeCycleEvents.OnDisable
, and
UltEvents.LifeCycleEvents.OnDestroy
.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["LifeCycleEvents"]
class Type type-node
Syntax
[AddComponentMenu(UltEventUtils.ComponentMenuPrefix + "Life Cycle Events")]
[HelpURL(UltEventUtils.APIDocumentationURL + "/LifeCycleEvents")]
[DisallowMultipleComponent]
public class LifeCycleEvents : MonoBehaviour
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURL | |
Disallow |
Properties
Name | Value | Summary |
---|---|---|
AwakeEvent | UltEvent |
Invoked by
UltEvents.LifeCycleEvents.Awake . |
DestroyEvent | UltEvent |
Invoked by
UltEvents.LifeCycleEvents.OnDestroy . |
DisableEvent | UltEvent |
Invoked by
UltEvents.LifeCycleEvents.OnDisable . |
EnableEvent | UltEvent |
Invoked by
UltEvents.LifeCycleEvents.OnEnable . |
StartEvent | UltEvent |
Invoked by
UltEvents.LifeCycleEvents.Start . |
Methods
Name | Value | Summary |
---|---|---|
Awake |
void |
Invokes
UltEvents.LifeCycleEvents.AwakeEvent . |
OnDestroy |
void |
Invokes
UltEvents.LifeCycleEvents.DestroyEvent . |
OnDisable |
void |
Invokes
UltEvents.LifeCycleEvents.DisableEvent . |
OnEnable |
void |
Invokes
UltEvents.LifeCycleEvents.EnableEvent . |
Start |
void |
Invokes
UltEvents.LifeCycleEvents.StartEvent . |