Property | Type | Description | |
---|---|---|---|
allReadonly | ReadOnlyCollection |
||
duration | float | ||
timeMode | TimeMode |
Method | Description | |
---|---|---|
Pause ( ) : void |
If currently running, pauses the timer.
|
|
Reset ( ) : void |
Resets all readonly public and private timer counters.
|
|
Restart ( ) : void |
Resets and starts the timer.
|
|
Resume ( ) : void |
If currently paused, resumes the timer.
|
|
Start ( ) : void |
If currently stopped, resets and then starts the timer.
|
|
Stop ( ) : void |
If not currently stopped, stops the timer.
|
|
TickAll ( ) : void |
This must be called by some external script for timers to update.
|
|
ToString ( ) : string | ||
UTimer ( ) : System |
Creates and Resets a new timer in Timer Mechanism in Time TimeMode.
|
|
UTimer ( Mechanism mechanism ) : System |
Creates and Resets a new timer in Time TimeMode.
|
|
UTimer ( Mechanism mechanism, TimeMode timeMode ) : System |
Creates and Resets a new timer.
|
|
UTimer ( TimeMode timeMode ) : System |
Creates and Resets a new timer in Timer Mechanism.
|
Method | Description | |
---|---|---|
FireElapsedEvent ( ) : void | ||
Tick ( ) : void |
Updates the timer's counters and values.
|
public UTimer ( Mechanism mechanism ) : System | ||
mechanism | Mechanism | The directional mechanism to use. |
return | System |
public UTimer ( Mechanism mechanism, TimeMode timeMode ) : System | ||
mechanism | Mechanism | The directional mechanism to use. |
timeMode | TimeMode | The time counting mode to use. |
return | System |
public UTimer ( TimeMode timeMode ) : System | ||
timeMode | TimeMode | The time counting mode to use. |
return | System |
public static ReadOnlyCollection |
||
return | ReadOnlyCollection |