API reference
API reference
Select your platform
No SDKs available
No versions available

TimerController Class

Extends MonoBehaviour
Represents a countdown timer.

Fields

Text logText[Get]
AudioClip [] timesUpSounds[Get]

Member Functions

Deletes the timer. It corresponds to the wit intent "wit$delete_timer"
Creates a timer. It corresponds to the wit intent "wit$create_timer"
Parameters
entityValues
countdown in minutes.
Displays current timer value. It corresponds to "wit$get_timer".
Pauses the timer. It corresponds to the wit intent "wit$pause_timer"
It corresponds to the wit intent "wit$resume_timer"
Subtracts time from the timer. It corresponds to the wit intent "wit$subtract_time_timer".
Parameters
entityValues
Adds time to the timer. It corresponds to the wit intent "wit$add_time_timer".
Parameters
entityValues
Returns the remaining time (in sec) of the countdown timer.
Returns
Returns time in the format of min:sec.
Returns
Did you find this page helpful?
Thumbs up icon
Thumbs down icon