Пример #1
0
        IEnumerator TimerCor()
        {
            while (continueProgress.TimeLeft > 0.0f)
            {
                OnUpdate.Dispatch(continueProgress);

                yield return(null);

                continueProgress.UpdateTimePassed();
            }

            OnUpdate.Dispatch(continueProgress);

            Skip();
            OnComplete.Dispatch();
        }