TechbloxModdingAPI
v2.2.0
The unofficial Techblox modding API
|
An asynchronous task to be performed once. Once constructed, this can be run by scheduling it with Scheduler.Schedule() More...
Public Member Functions | |
Once (Action task, float after=0.0f) | |
Construct a single-run task More... | |
IEnumerator< TaskContract > | Run () |
Asynchronous task runner More... | |
An asynchronous task to be performed once. Once constructed, this can be run by scheduling it with Scheduler.Schedule()
|
inline |
Construct a single-run task
task | The task to run once |
after | The delay (in seconds) before the task is run |
|
inline |
Asynchronous task runner
Implements TechbloxModdingAPI.Tasks.ISchedulable.