public override void DoComplete()
 {
     base.DoComplete();
     if (!doNotHidePanelOnComplete)
     {
         tutorialPanel.Hide();
     }
 }
Ejemplo n.º 2
0
 public override void Reset()
 {
     if (_tutorialPanel == null)
     {
         return;
     }
     _tutorialPanel.ToggleCharacter(false);
     if (!doNotHidePanelOnComplete)
     {
         _tutorialPanel.Reset();
         _tutorialPanel.Hide();
     }
 }
Ejemplo n.º 3
0
    public void CompleteTutorial()
    {
        isTutorialCompleted = true;

        if (dialogue.dialogueName == "General")
        {
            Debug.Log("UNLOCK ACHIEV");
            PlayGameScript.UnlockAchievement(GPGSIds.achievement_youve_lasted_so_far_heh);
        }
        if (tPanel.gameObject.activeInHierarchy)
        {
            tPanel.Hide();
        }
        if (objectsToClose.Count > 0)
        {
            foreach (GameObject g in objectsToClose)
            {
                g.SetActive(false);
            }
        }
    }