Exemple #1
0
 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();
 }
Exemple #2
0
 void Awake()
 {
     quirkSpawner  = FindObjectOfType <QuirkSpawner>();
     quirkPickerUI = FindObjectOfType <QuirkPickerUI>();
 }