private IEnumerator StartHandler_Async(IEnumerator rIEnum) { yield return(rIEnum); this.IsRunning = false; this.IsCompleted = true; // 要等一帧才能把自己删掉,要不然会崩溃 yield return(0); // 自己把自己删掉,并将对应的数据都清空 coroutineManager.Stop(this); }
public void Stop() { coroutine.Stop(this.Handler); }