Attach this to an object to raise an event from standard Unity hooks (awake, start, enable, etc).
More...
Attach this to an object to raise an event from standard Unity hooks (awake, start, enable, etc).
◆ CheckEnableAfterYield()
IEnumerator PlatformerPro.AutoEvent.CheckEnableAfterYield |
( |
| ) |
|
|
protected |
Delay enabled check by one frame to avoid issues with unintialised variables on activation.
- Returns
- The enable after yield.
◆ OnGenericEvent()
void PlatformerPro.AutoEvent.OnGenericEvent |
( |
| ) |
|
|
protected |
Raises the generic event event.
◆ RaiseEvent()
void PlatformerPro.AutoEvent.RaiseEvent |
( |
| ) |
|
◆ raiseOnDestroy
bool PlatformerPro.AutoEvent.raiseOnDestroy |
◆ raiseOnEnable
bool PlatformerPro.AutoEvent.raiseOnEnable |
◆ raiseOnStart
bool PlatformerPro.AutoEvent.raiseOnStart |
◆ GenericEvent
System.EventHandler<EmptyEventArgs> PlatformerPro.AutoEvent.GenericEvent |
Generic event raised by this object.
The documentation for this class was generated from the following file:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/EventSystem/AutoEvent.cs