Exemple #1
0
 /// <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));
 }
Exemple #2
0
 /// <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));
 }