EventCallTime
Declaration
public sealed enum Strawberry.EventSystem.EventCallTime
The main event on which the custom events are executed.
Members
| Name | Value | Description |
|---|---|---|
OnBeginUpdate |
0 | The custom event will fire after all components' OnBeginUpdate methods have been called. |
OnUpdate |
1 | The custom event will fire after all components' OnUpdate methods have been called. |
OnEndUpdate |
2 | The custom event will fire after all components' OnEndUpdate methods have been called. |
OnFixedUpdate |
3 | The custom event will fire after all components' OnFixedUpdate methods have been called. It is supposed to be used for physics calculations. |
OnBeginRender |
4 | The custom event will fire after all components' OnLateUpdate methods have been called. |
OnRender |
5 | The custom event will fire after all components' OnRender methods have been called. It is supposed to be used for rendering and drawing to the screen. |
OnEndRender |
6 | The custom event will fire after all components' OnEndRender methods have been called. |
Fields
OnBeginUpdate static
The custom event will fire after all components' OnBeginUpdate methods have been called.
EventCallTime OnBeginUpdate = 0
OnUpdate static
The custom event will fire after all components' OnUpdate methods have been called.
EventCallTime OnUpdate = 1
OnEndUpdate static
The custom event will fire after all components' OnEndUpdate methods have been called.
EventCallTime OnEndUpdate = 2
OnFixedUpdate static
The custom event will fire after all components' OnFixedUpdate methods have been called. It is supposed to be used for physics calculations.
EventCallTime OnFixedUpdate = 3
OnBeginRender static
The custom event will fire after all components' OnLateUpdate methods have been called.
EventCallTime OnBeginRender = 4
OnRender static
The custom event will fire after all components' OnRender methods have been called. It is supposed to be used for rendering and drawing to the screen.
EventCallTime OnRender = 5
OnEndRender static
The custom event will fire after all components' OnEndRender methods have been called.
EventCallTime OnEndRender = 6