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")]
[DisallowMultipleComponent]
[UltEventsHelpUrl(typeof(LifeCycleEvents))]
public class LifeCycleEvents : MonoBehaviour
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Disallow |
|
Ult |
[Assert-Conditional]
A HelpURLAttribute which points to the UltEvents documentation.
|
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 . |