Exemplo n.º 1
0
        private void ProcessLevelCompleted()
        {
            scoreController.IncreaseScore();
            progressController.NextMap();

            if (progressController.IsDrawingCompleted())
            {
                levelController.CompleteFlow();
            }
            else
            {
                StartCoroutine(StartWithDelay());
            }
        }
Exemplo n.º 2
0
        private void ProcessLevelCompleted()
        {
            tutorialController.Deactivate();
            scoreController.IncreaseScore();
            progressController.NextMap();

            if (progressController.IsFlowCompleted())
            {
                progressController.NextFlow(scoreController.Level);
                if (OnFlowCompleted != null)
                {
                    OnFlowCompleted();
                }
            }
            else
            {
                StartCoroutine(StartLevelWithDelay());
            }
        }