Exemple #1
0
 // Use this for initialization
 void Start()
 {
     game = GameObject.Find("gameGlobal").GetComponent <gameGlobal>();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     game  = GameObject.Find("gameGlobal").GetComponent <gameGlobal>();
     trans = GetComponent <Transform>();
     //game.RegisterNewTower(this);
 }