메소드 | 설명 | |
---|---|---|
GetTimeRemaining ( ) : float |
Gets the time remaining.
|
|
IsUnset ( ) : bool |
Determines whether this instance is unset.
|
|
RBTimer ( ) : System.Collections |
Initializes a new instance of the RBTimer class without a Duration
|
|
RBTimer ( float timerDuration, bool repeats = false ) : System.Collections |
Initializes a new instance of the RBTimer class with a duration.
|
|
Start ( |
Start the timer, attached to the specified targetMonobehaviour. Raises timerFinishedAction when complete.
|
|
Stop ( ) : void |
Stop this timer, without calling the Finished action.
|
메소드 | 설명 | |
---|---|---|
CountdownForDuration ( float desiredDuration ) : IEnumerator | ||
DoStart ( ) : void | ||
StartTimerCoroutine ( float waitSeconds ) : void | ||
StopTimerCoroutine ( ) : void | ||
TimerFinished ( ) : void |
public RBTimer ( float timerDuration, bool repeats = false ) : System.Collections | ||
timerDuration | float | Timer duration. |
repeats | bool | If set to |
리턴 | System.Collections |
public Start ( |
||
targetMonobehaviour | Target monobehaviour to attach Coroutine to. | |
timerFinishedAction | System | Action invoked on timer complete. |
리턴 | void |