Пример #1
0
 void Awake()
 {
     GlobalInventory = gameObject.AddComponent <Inventory>();
     Fires           = new List <GameObject>();
     Workers         = new List <GameObject>();
     MainUI          = Instantiate(UI);
     MainUIPrompts   = MainUI.GetComponent <UIPrompts>();
 }