Example #1
0
    public void AdvanceTutorialPhase()
    {
        TurnOffTextBoxAndMarker();
        currentTutorialPhase++;
        FunctionTimer.StopAllTimersWithName(currentTutorialPhase.ToString());
        PhaseEndConditionMet = false;

        if (currentTutorialPhase >= tutorialPhases.Count)
        {
            Debug.Log("Tutorial Over!");
            SetAllFeatures(true);
            inTutorial = false;
            tutorialCanvasGroup.gameObject.SetActive(false);
            pauseButton.gameObject.SetActive(true);
        }
        else
        {
            ExecuteTutorialPhase(currentTutorialPhase);
        }
    }