public void ShowTutorial(tutorialStates state) { if (firstTimeTuts[(int)state] == false) { print("Winn"); firstTimeTuts[(int)state] = true; } }
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; } }
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; } }