コード例 #1
0
ファイル: CoRoutine.cs プロジェクト: spooty89/Project-ROB
 public CoRoutine( IEnumerator c, CoRoutineCompletionEvent e, bool autoStart )
 {
     complete += e;
     coRoutine = CoRoutineHandler.CreateCoRoutine( c );
     coRoutine.Finished += TaskFinished;
     if( autoStart ) { Start(); }
 }
コード例 #2
0
ファイル: CoRoutine.cs プロジェクト: spooty89/Project-ROB
 public CoRoutine( IEnumerator c, CoRoutineCompletionEvent e )
     : this(c, e, true)
 {
 }