void Start() { RoomManager.Instance.NewLevel(); var obj = Instantiate(GameUIPrefab); QueueManager = obj.GetComponent<BuildQueueManager>(); SettingManager = obj.GetComponent<RoomSettingsManager>(); }
void Start() { RoomManager.Instance.NewLevel(); var obj = Instantiate(GameUIPrefab); QueueManager = obj.GetComponent <BuildQueueManager>(); SettingManager = obj.GetComponent <RoomSettingsManager>(); }