private void Awake() { ChoseNextRoom(); screenFadeHandler = FindObjectOfType <ScreenFadeHandler>(); quirkPickerUI = FindObjectOfType <QuirkPickerUI>(); playerCount = FindObjectOfType <PlayerCount>(); enemySpawner = FindObjectOfType <EnemySpawner>(); quirkSpawner = FindObjectOfType <QuirkSpawner>(); currentRoom = roomParent.transform.GetChild(0).gameObject; SetPlayerPosArray(); }
void Awake() { quirkSpawner = FindObjectOfType <QuirkSpawner>(); quirkPickerUI = FindObjectOfType <QuirkPickerUI>(); }