Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     broomManager = GetComponentInParent <BroomManager>();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     //broom.SetActive(false);
     broom        = GameObject.Find("JapanBroom");
     BroomManager = broom.GetComponent <BroomManager>();
 }