Enum LifeCycleEvent
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Flags for Unity lifecycle events.
[Flags]
public enum LifeCycleEvent
- Extension Methods
Fields
Awake = 1
FixedUpdate = 32
LateUpdate = 16
None = 0
OnDestroy = 128
OnDisable = 64
OnEnable = 2
Start = 4
Update = 8
UserDefined = 256
Remarks
Use this to specify what events logic should execute in. This is useful when you want this to be configurable in the inspector. IfMatchesExecute(LifeCycleEvent, LifeCycleEvent, Action) for an example.