Esempio n. 1
0
 void Assign(GameObject Player)
 {
     poi.KnowMe();
     myi.KnowMe();
     gro.KnowMe();
     kaleo.KnowMe();
 }
Esempio n. 2
0
 void Assign(GameObject Player)
 {
     myi = GameObject.FindGameObjectWithTag("myin").GetComponent <myInput>();
     myi.KnowMe(Player);
     gro = GameObject.FindGameObjectWithTag("gro").GetComponent <groundCollision>();
     gro.KnowMe(Player, myi);
     poi = GameObject.FindGameObjectWithTag("poi").GetComponent <pyhsicsOfItems>();
     poi.knowMe(Player, gro.gameObject, ballObj);
     Player.GetComponent <MyCharacterController>().poi = poi;
 }