Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     towerMenu = towerMenuObj.GetComponent <towerMenuScript>();
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     towerMenuInstance   = towerMenu.GetComponent <towerMenuScript>();
     stationMenuInstance = powerStationMenu.GetComponent <powerStationMenuScript>();
 }