private void RestartEverything() { GameOverCanvas.SetActive(false); FinishedPotionCanvas.SetActive(false); GameOverText.text = ""; FinishedPotionText.text = ""; PotionSceneManager.instance.RiddleTextBox.text = ""; GameOverBlocker.SetActive(false); FinishedPotionBlocker.SetActive(false); PotionSceneManager.instance.currentRecipeStep = 0; PotionSceneManager.ShuffleRecipeSteps(ref PotionSceneManager.instance.potionToMake.Steps); PotionSceneManager.instance.isDropping = false; PotionSceneManager.instance.RiddleCanvas.SetActive(true); UILoading.instance.DisplayIngredients(PotionSceneManager.instance.potionToMake.PossibleIngredients); }
public void FinishPotionMaking(string sceneToChangeToName) { FinishedPotionBlocker.SetActive(true); StartCoroutine(FinishPotionMakingTansitionAnimation(sceneToChangeToName)); }