ManagedUpdate Class |
Namespace: Archon.SwissArmyLib.Events.Loops
The ManagedUpdate type exposes the following members.
Name | Description | |
---|---|---|
DeltaTime |
Gets the difference in seconds since the previous update of the currently running type. (Scaled according to timeScale)
| |
UnscaledDeltaTime |
Gets the unscaled difference in seconds since the previous update of the currently running type.
|
Name | Description | |
---|---|---|
AddCustomUpdateLoop |
Adds a custom update loop.
| |
AddListener(Int32, IEventListener, Int32) |
Adds a listener for an update loop.
If it's not a custom update loop, you can instead subscribe directly using
OnUpdate, OnLateUpdate or OnFixedUpdate.
| |
AddListener(Int32, Action, Int32) |
Adds a listener for an update loop.
If it's not a custom update loop, you can instead subscribe directly using
OnUpdate, OnLateUpdate or OnFixedUpdate.
| |
GetCustomUpdateLoop(Int32) |
Gets the custom update loop implementation for the given event id.
| |
GetCustomUpdateLoopT(Int32) |
Gets the custom update loop implementation for the given event id.
| |
RemoveCustomUpdateLoop(Int32) |
Removes a custom update loop with the given event id.
| |
RemoveCustomUpdateLoop(ICustomUpdateLoop) |
Removes a custom update loop.
| |
RemoveListener(Int32, IEventListener) |
Removes a listener for an update loop.
If it's not a custom update loop, you can instead unsubscribe directly using
OnUpdate, OnLateUpdate or OnFixedUpdate.
| |
RemoveListener(Int32, Action) |
Removes a listener for an update loop.
If it's not a custom update loop, you can instead unsubscribe directly using
OnUpdate, OnLateUpdate or OnFixedUpdate.
|
Name | Description | |
---|---|---|
OnFixedUpdate |
Event handler that is called every fixed update.
| |
OnLateUpdate |
Event handler that is called every update but after the regular Update.
| |
OnUpdate |
Event handler that is called every update.
|