Applies a timer effect to a tk2dProgressBar that counts down from 1 to 0.
More...
|
IEnumerator | Play () |
| Runs the timer.
|
|
|
float | Value [get, set] |
| Gets or sets the value of the progress bar.
|
|
|
Action | TimeoutHandler = null |
| Occurs when the timer is done (i.e., at the end of duration).
|
|
Applies a timer effect to a tk2dProgressBar that counts down from 1 to 0.
When time is up, it calls an event handler. Attach this script to your response menu timer.
◆ Play()
IEnumerator PixelCrushers.DialogueSystem.TK2DSupport.TK2DTimer.Play |
( |
| ) |
|
|
inline |
◆ duration
float PixelCrushers.DialogueSystem.TK2DSupport.TK2DTimer.duration = 5f |
◆ Value
float PixelCrushers.DialogueSystem.TK2DSupport.TK2DTimer.Value |
|
getset |
Gets or sets the value of the progress bar.
The value (0-1).
◆ TimeoutHandler
Action PixelCrushers.DialogueSystem.TK2DSupport.TK2DTimer.TimeoutHandler = null |
Occurs when the timer is done (i.e., at the end of duration).
If the coroutine is stopped or the control is deactivated, this will never get called.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/TK2D Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/TK2D Support/Scripts/TK2D Dialogue UI/TK2DTimer.cs