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