CoroutineYields
A static class in Alta.Coroutines, the global namespace.
Static cache of coroutine yield objects, so coroutines can reuse them instead of allocating new ones each time.
- Listed in Other Alta assemblies
- Nested types
FloatComparer - Documented in Threads, coroutines and the timeline
Fields
3 private and internal fields
Properties
| Member | What it is |
|---|---|
static WaitForEndOfFrame EndOfFrame { get; } | A shared WaitForEndOfFrame. |
static WaitForFixedUpdate FixedUpdate { get; } | A shared WaitForFixedUpdate. |
Methods
| Member | What it is |
|---|---|
static WaitForSeconds WaitForSeconds(float seconds) | Returns a cached WaitForSeconds for the given time, creating it on first use. Times within 0.01 seconds count as the same. |