Timer for DF-GUI UIs. More...
Public Member Functions | |
void | StartCountdown (float duration, Action timeoutHandler) |
Starts the countdown. More... | |
void | OnDisable () |
When disabled, stop the timer. More... | |
Timer for DF-GUI UIs.
Used by the response menu if timed menus are enabled.
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer.OnDisable | ( | ) |
When disabled, stop the timer.
void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer.StartCountdown | ( | float | duration, |
Action | timeoutHandler | ||
) |
Starts the countdown.
duration | Duration to count down. |
timeoutHandler | Timeout handler to invoke if the timer reaches zero. |