TowerVR  1.0
Timer Class Reference
Inheritance diagram for Timer:

Public Member Functions

double start ()
 
double stop ()
 
double clear ()
 

Properties

double time [get]
 

Detailed Description

Simple timer class. Is a Unity component that automatically updates its internal timer.

Member Function Documentation

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.

Property Documentation

double Timer.time
get

The timer's value, in seconds.


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