// Start is called before the first frame update void Start() { p = GameObject.Find("Pause").GetComponent <Pause>(); h = GameObject.Find("Historia").GetComponent <Historia>(); b = GameObject.Find("Banana").GetComponent <Banana>(); c = GameObject.Find("Coco").GetComponent <Coco>(); pi = GameObject.Find("Pinha").GetComponent <Pinha>(); po = GameObject.Find("Portal").GetComponent <Portal>(); }
// Start is called before the first frame update void Start() { p = GameObject.Find("Pause").GetComponent <Pause>(); h = GameObject.Find("Historia").GetComponent <Historia>(); po = GameObject.Find("Portal").GetComponent <Portal>(); b = GameObject.Find("Banana").GetComponent <Banana>(); c = GameObject.Find("Coco").GetComponent <Coco>(); pi = GameObject.Find("Pinha").GetComponent <Pinha>(); n = GameObject.Find("Neve").GetComponent <Neve>(); h1 = GameObject.Find("HistoriaUm").GetComponent <HistoriaUm>(); h2 = GameObject.Find("HistoriaDois").GetComponent <HistoriaDois>(); //por = GameObject.Find("Portugues").GetComponent<Portugues>(); bra = GameObject.Find("Brasil").GetComponent <Brasil>(); }