Yield
Static Class in Zigurous.Utility
Declaration
public static class Yield
Description
Caches yield statements to minimize garbage collection.
Static Properties
initialCapacity | The initial capacity of the yield cache. |
endOfFrame | Waits until the end of the frame, just before displaying the frame on screen. |
fixedUpdate | Waits until the next fixed frame rate update function. |
Static Methods
Wait | Suspends the coroutine execution for the given amount of seconds using scaled time. |
WaitRealtime | Suspends the coroutine execution for the given amount of seconds using unscaled time. |
WaitUntil | Suspends the coroutine execution until the supplied delegate evaluates to true. |
WaitWhile | Suspends the coroutine execution until the supplied delegate evaluates to false. |