//shows the tutorial message public static void DisplayTutorialMessage(MainMenuController.Tutorial tutorialType) { if (tutorialType == MainMenuController.Tutorial.BuyHint) { CraftingTutorialController.SetTutorialMessageBoard(BuyingHintMessage); } }
void Awake() { Instance = this; InitializeTutorialMessageBoard(); SubscribeEvents(); //establishes the reference to the mask component foreach (Image image in GetComponentsInChildren <Image>()) { if (image.gameObject.name == "Mask") { Mask = image; MaskButton = image.transform.GetComponent <Button>(); MaskCanvasGroup = image.transform.GetComponent <CanvasGroup>(); } } }
//hides the tutorial message public static void HideTutorialMessage() { CraftingTutorialController.HideTutorialMessageBoard(); }
void Awake() { Instance = this; InitializeTutorialMessageBoard(); SubscribeEvents(); //establishes the reference to the mask component foreach (Image image in GetComponentsInChildren<Image>()) { if (image.gameObject.name == "Mask") { Mask = image; MaskButton = image.transform.GetComponent<Button>(); MaskCanvasGroup = image.transform.GetComponent<CanvasGroup>(); } } }