Allows for pumping of a list of coroutines for a certain maximum of time per frame / update. More...
Public Member Functions | |
CoroutineHandle | AddCoroutine (IEnumerator coroutine) |
Adds a coroutine to the list. The coroutine will execute on the next call to Update if it can be run. | |
bool | CancelCoroutine (in CoroutineHandle handle) |
Cancels / removes a running coroutine. | |
void | Update (TimeSpan maxTimeToRun) |
Pumps all coroutines up to the specified amount of time. | |
Allows for pumping of a list of coroutines for a certain maximum of time per frame / update.