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