private void EndUpgradePowerupTutorial(string powerupName, int powerUpLevel) { if (CurrentTutorial == MainMenuController.Tutorial.UpgradePowerup && TutorialActive) { EndTutorial(); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.UpgradePowerup); } }
private void EndBuyHintTutorial(string elementHintName) { if (CurrentTutorial == MainMenuController.Tutorial.BuyHint && TutorialActive) { EndTutorial(); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.BuyHint); } }
private void EndTierSwitchingTutorial(int tier) { if (CurrentTutorial == MainMenuController.Tutorial.TierSwitch && TutorialActive) { EndTutorial(); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.TierSwitch); ToggleMaskBlockingRayCastsInactive(false); } }
private void EndOnElementsDraggedIntoGatheringTutorial() { Utility.Log("Received the event to end the tutorial"); if (CurrentTutorial == MainMenuController.Tutorial.Gathering && TutorialActive) { EndTutorial(); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.Gathering); } }
private void EndCraftingTutorial(string newElement, string parent1, string parent2, bool isNew) { Utility.Log("Should be turning off the crafting tutorial"); if (CurrentTutorial == MainMenuController.Tutorial.Crafting && TutorialActive) { Utility.Log("Actually turning off the crafting tutorial"); EndTutorial(); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.Crafting); CraftingTutorialComponent.DeactivateTutorialComponents(MainMenuController.Tutorial.Gathering); //#####added } }