Method | Description | |
---|---|---|
DelayedAction ( double delaySeconds, System.Action action ) : System | ||
Invoke ( double delay, System.Action action ) : |
Invokes the given action after the specified delay. Returns the 'DelayedAction' used to invoke the method (can be used to cancel the delayed invoke operation). |
|
Start ( ) : void |
Starts the delay timer. Subsequent calls to this method restart the timer.
|
|
Stop ( ) : void |
Stops the timer.
|
Method | Description | |
---|---|---|
OnDisposed ( ) : void |
Method | Description | |
---|---|---|
CreateTimer ( ) : |
||
InvokeAction ( ) : void | ||
OnActionInvoked ( ) : void | ||
OnStarted ( ) : void | ||
OnStopped ( ) : void | ||
OnTimerElapsed ( object sender, |
||
SetDelay ( |
public DelayedAction ( double delaySeconds, System.Action action ) : System | ||
delaySeconds | double | |
action | System.Action | |
return | System |
public static Invoke ( double delay, System.Action action ) : |
||
delay | double | The delay (in seconds) before invoking the action. |
action | System.Action | The action to invoke. |
return |