PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer Class Reference

Timer for DF-GUI UIs. More...

Inheritance diagram for PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer:
Collaboration diagram for PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer:

Public Member Functions

void StartCountdown (float duration, Action timeoutHandler)
 Starts the countdown. More...
 
void OnDisable ()
 When disabled, stop the timer. More...
 

Detailed Description

Timer for DF-GUI UIs.

Used by the response menu if timed menus are enabled.

Member Function Documentation

◆ OnDisable()

void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer.OnDisable ( )

When disabled, stop the timer.

◆ StartCountdown()

void PixelCrushers.DialogueSystem.DaikonForgeGUI.DaikonForgeTimer.StartCountdown ( float  duration,
Action  timeoutHandler 
)

Starts the countdown.

Parameters
durationDuration to count down.
timeoutHandlerTimeout handler to invoke if the timer reaches zero.

The documentation for this class was generated from the following file: