Ejemplo n.º 1
0
 //IEnumerator for a EditorYieldInstruction, false if EditorYieldInstruction is false, else true and leaving
 private IEnumerator isTrue(EditorYieldInstruction editorYieldInstruction)
 {
     while (!editorYieldInstruction.IsDone)
     {
         yield return(false);
     }
     yield return(true);
 }
 //IEnumerator for a EditorYieldInstruction, false if EditorYieldInstruction is false, else true and leaving
 private IEnumerator isTrue(EditorYieldInstruction editorYieldInstruction)
 {
     while (!editorYieldInstruction.IsDone)
     {
         yield return false;
     }
     yield return true;
 }