Пример #1
0
 public void ShowTutorial(tutorialStates state)
 {
     if (firstTimeTuts[(int)state] == false)
     {
         print("Winn");
         firstTimeTuts[(int)state] = true;
     }
 }
Пример #2
0
 void WaitForDrag()
 {
     if (!tutStateDone)
     {
         tutorialText2.SetActive(true);
         tutorialText2.GetComponent <FadeText>().FadeIn(2);
         tutStateDone = true;
     }
     if (itemWasDragged)
     {
         tutorialText2.GetComponent <FadeText>().FadeOut(2);
         tutState     = tutorialStates.WaitingToBegin;
         tutStateDone = false;
     }
 }
Пример #3
0
    void ApproachBag()
    {
        if (!tutStateDone)
        {
            tutorialText1.SetActive(true);
            tutorialText1.GetComponent <FadeText>().FadeIn(2);
            tutStateDone = true;
        }

        if (bagWasOpened)
        {
            tutorialText1.GetComponent <FadeText>().FadeOut(2);
            tutState     = tutorialStates.DragIntoInventory;
            tutStateDone = false;
        }
    }