Exemplo n.º 1
0
 static IEnumerator Pause()
 {
     if (GlobalApplication.IsPause)
     {
         yield return(FlowMediator.Instance.StartCoroutine(WaitCondition.WaitWhile(() => GlobalApplication.IsPause)));
     }
 }
 protected override IEnumerator FlowLoop()
 {
     while (_flow <= (int)HiddenObjectFlow.End)
     {
         _isCompleted = false;
         Begin(_flow);
         yield return(StartCoroutine(WaitCondition.WaitUntil(() => _isCompleted)));
     }
     Exit(true);
 }