Method | Description | |
---|---|---|
DelayedAction ( double delaySeconds, System.Action action ) : System |
Constructor.
|
|
Dispose ( ) : void | ||
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 | |
---|---|---|
FireInvoked ( ) : void | ||
InvokeAction ( ) : void |
public DelayedAction ( double delaySeconds, System.Action action ) : System | ||
delaySeconds | double | The time delay in delay (in seconds). |
action | System.Action | The action that is invoked after the delay. |
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 |