Exemplo n.º 1
0
 public CoRoutine( IEnumerator c, CoRoutineCompletionEvent e, bool autoStart )
 {
     complete += e;
     coRoutine = CoRoutineHandler.CreateCoRoutine( c );
     coRoutine.Finished += TaskFinished;
     if( autoStart ) { Start(); }
 }
Exemplo n.º 2
0
 public CoRoutine( IEnumerator c, CoRoutineCompletionEvent e )
     : this(c, e, true)
 {
 }