// Use this for initialization void Awake() { for (int i = 0; i < fruits.Length; i++) { fruits [i].enabled = false; } tori = FindObjectOfType <Tori> (); dialogController = FindObjectOfType <DialogController> (); }
// Use this for initialization void Awake() { for (int i = 0; i < pocoes.Length; i++) { pocoes [i].enabled = false; } tori = FindObjectOfType <Tori> (); dialogController = FindObjectOfType <DialogController> (); fukaScaleX = fuka.transform.localScale.x; }
void Awake() { dialogController = FindObjectOfType <DialogController> (); tori = FindObjectOfType <Tori> (); }
void Awake() { fatherTori = GetComponentInParent <Tori> (); }