|
TowerVR
1.0
|
Public Member Functions | |
| double | start () |
| double | stop () |
| double | clear () |
Properties | |
| double | time [get] |
Simple timer class. Is a Unity component that automatically updates its internal timer.
| double Timer.clear | ( | ) |
Clears the timer. Returns the timer count before setting it to zero.
| double Timer.start | ( | ) |
Start the timer. Returns its current timer count.
| double Timer.stop | ( | ) |
Stops the timer. Returns its current timer count.
|
get |
The timer's value, in seconds.