Holds a collection of active Coroutines, and implements coroutine execution logic.
More...
|
| CoroutineCollection () |
| Constructs an empty CoroutineCollection. More...
|
|
void | Clear () |
| Suspends and clears all Coroutines added to this instance. More...
|
|
Coroutine | Start (IEnumerator enumerator) |
| Starts a coroutine from an IEnumerator that is expected to yeild Awaitable instances, null references (to delay until next the update), or other IEnumerator coroutines. When another IEnumerator is yielded the parent IEnumerator will pause execution until the child IEnumerator has finished. More...
|
|
Coroutine | Start (Func< IEnumerator > function) |
| Starts a coroutine from a function returning IEnumerator that is expected to yeild Awaitable instances, null references (to delay until next the update), or other IEnumerator coroutines. When another IEnumerator is yielded the parent IEnumerator will pause execution until the child IEnumerator has finished. More...
|
|
bool | Contains (Coroutine routine) |
| Tests whether the given coroutine is a member of this collection. More...
|
|
void | Update () |
| Executes one step of all active Coroutine instances held within the collection. More...
|
|
Holds a collection of active Coroutines, and implements coroutine execution logic.