예제 #1
0
        private IEnumerator Tick()
        {
            yield return(new WaitForSeconds(1));

            CurrentSeconds -= 1;
            RenderTime();
            if (CurrentSeconds > 0)
            {
                _counting = StartCoroutine(Tick());
            }
            else
            {
                _inProgress = false;
                if (!IsIntro)
                {
                    GameLogicManager.GameEnd();
                }
            }
        }