protected virtual void ServerRequest() { NormalTask normalTask = new NormalTask(APIUtil.Instance().RequestHomeData()); normalTask.Add(new NormalTask(new Func <IEnumerator>(this.StartEvent))); base.StartCoroutine(normalTask.Run(null, null, null)); }
public IEnumerator StartEffect() { TaskBase task = new NormalTask(this.StartMatchingEffect()).Add(new NormalTask(this.WaitFinishMatchingEffect())); return(task.Run(new Action(this.eventListener.OnCompletedMatchingAnimation), null, null)); }