public void Dispose() { coroutine = null; pauseEvent = null; completionEvent = null; }
public void AddCompletionDelegates(params OnRoutineComplete[] completionDelegates) { foreach(OnRoutineComplete c in completionDelegates) if (c != null) completionEvent += c; }