Method | Description | |
---|---|---|
Add ( |
Adds a new delayed action.
|
|
Add ( float time, System.Action func ) : void |
Adds a new delayed action, casting the time to an integer.
|
|
Add ( float time, System.Action func, |
Adds a new delayed action with a cancelation token. Use the CancellationTokenSource class for tokens.
|
|
Add ( int time, System.Action func ) : void |
Adds a new delayed action.
|
|
Add ( int time, System.Action func, |
Adds a new delayed action with a cancelation token. Use the CancellationTokenSource class for tokens.
|
public static Add ( |
||
item | The |
|
return | void |
public static Add ( float time, System.Action func ) : void | ||
time | float | The time(in milliseconds) to call the function. |
func | System.Action | The function to call once the |
return | void |
public static Add ( float time, System.Action func, |
||
time | float | The time(in milliseconds) to call the function. (Gets casted into an integer) |
func | System.Action | The function to call once the |
token | The cancelation token. | |
return | void |
public static Add ( int time, System.Action func ) : void | ||
time | int | Delayed Time |
func | System.Action | Callback Function |
return | void |
public static Add ( int time, System.Action func, |
||
time | int | The time(in milliseconds) to call the function. |
func | System.Action | The function to call once the |
token | The cancelation token. | |
return | void |