A static class that contains methods for easily creating routines & avoid object allocations
More...
|
| static WaitForSeconds | WaitForSeconds (float seconds) |
| | Faster alternative to WaitForSeconds, caches the object. This will permanently cache the instance unless removed with Coroutines.wfsDictionary More...
|
| |
| static WaitForSecondsRealtime | WaitForSecondsRealtime (float seconds) |
| | Faster alternative to creating a new WaitForSecondsRealtime, caches the object. This will permanently cache the instance unless removed with Coroutines.wfsRtDictionary More...
|
| |
| static WaitForFixedUpdate | WaitForFixedUpdate () |
| | Return the cached WaitForFixedUpdate instance More...
|
| |
| static WaitForEndOfFrame | WaitForEndOfFrame () |
| | Return the cached WaitForFixedUpdate instance More...
|
| |
| static CoroutineCatcher | Catcher ([NotNull] IEnumerator coroutine) |
| | Returns a CoroutineCatcher More...
|
| |
| static IEnumerator | NextFrameRoutine ([NotNull] Action action) |
| | A routine that runs the action in the next frame More...
|
| |
| static IEnumerator | DelayRoutine (float seconds, [NotNull] Action action) |
| | A routine that runs the action at the given delay More...
|
| |
| static IEnumerator | DelayRoutine (TimeSpan timeSpan, [NotNull] Action action) |
| | A routine that runs the action after the given timespan More...
|
| |
| static IEnumerator | RunFlat (IEnumerator routine) |
| | Runs this routine flat – It will not spawn new coroutines when doing yield return SomeRoutine(). More...
|
| |
| static IEnumerator | ThenRoutine (Coroutine coroutine, [NotNull] Action nextRoutine) |
| | Runs a action after a coroutine has completed More...
|
| |
A static class that contains methods for easily creating routines & avoid object allocations