TimerSettings
Struct in Zigurous.Architecture
Declaration
[Serializable]
public struct TimerSettingsDescription
The settings for a timer.
Properties
| interval | The amount of seconds between tick intervals. A tick event is invoked every interval. |
| duration | The amount of seconds the timer runs for. A completion event is invoked after the duration has elapsed, and the timer is disabled. The timer can be re-enabled to run again with the same duration. |
| resetElapsedOnEnable | Resets the previous amount of time elapsed when the timer is re-enabled. Leaving this off allows the timer to be paused and resumed by disabling and enabling the timer behavior. |
| resetCountersOnEnable | Resets the timer counters when the timer is re-enabled, including the number of times ticked, the number of times completed, and the timestamps of those events. |
| useUnscaledTime | Advances the timer using unscaled time. |