// Use this for initialization
 void Start()
 {
     potionMenu = GameObject.FindObjectOfType<PotionMenuController>();
     ingredientMenu = GameObject.FindObjectOfType<IngredientMenuController>();
     pauser = GameObject.FindObjectOfType<AudioSwitcher>();
     pauseMenu = transform.Find("Pause Menu").gameObject;
     pauseMenu.SetActive(false);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     potionMenu     = GameObject.FindObjectOfType <PotionMenuController>();
     ingredientMenu = GameObject.FindObjectOfType <IngredientMenuController>();
     pauser         = GameObject.FindObjectOfType <AudioSwitcher>();
     pauseMenu      = transform.Find("Pause Menu").gameObject;
     pauseMenu.SetActive(false);
 }