コード例 #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);
 }
コード例 #2
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;
 }