public CoroutineTask(IEnumerator routine, ICoroutineWaitable coroutineReturn = null) { Routine = routine; Return = coroutineReturn; }
void Next() { Done = !Routine.MoveNext(); Return = ICoroutineWaitable.TryParseData(Routine.Current); }
public WaitForWaitable(ICoroutineWaitable pState) { _pState = pState; }