/// <summary> Yield return this to make CoRoutine wait until the condition will be false. </summary> public static ICoData WaitUntilFalse(WaitUntilCondition condition) { return(new CoDataWaitUntilCondition(false, condition)); }
/// <summary> Yield return this to make CoRoutine wait until the condition will be true. </summary> public static ICoData WaitUntilTrue(WaitUntilCondition condition) { return(new CoDataWaitUntilCondition(true, condition)); }