Yield.WaitWhile
Static Method in Yield
Declaration
public static WaitWhile WaitWhile(Func<bool> predicate, int id)
Description
Suspends the coroutine execution until the supplied delegate evaluates to false.
Parameters
predicate | The delegate to evaluate. |
id | The id to cache the yield statement with. |
Returns
WaitWhile | The yield statement. |