void Awake() { GlobalInventory = gameObject.AddComponent <Inventory>(); Fires = new List <GameObject>(); Workers = new List <GameObject>(); MainUI = Instantiate(UI); MainUIPrompts = MainUI.GetComponent <UIPrompts>(); }
void Awake() { GlobalInventory = gameObject.AddComponent <Inventory>(); Fires = new List <GameObject>(); Workers = new List <GameObject>(); MainUI = Instantiate(UI); MainUIPrompts = MainUI.GetComponent <UIPrompts>(); }