Esempio n. 1
0
 private void Awake()
 {
     enemySpawner = GameObject.FindGameObjectWithTag("EnemySpawner").GetComponent <EnemySpawner>();
     roomProgress = this.gameObject.GetComponent <RoomProgress>();
 }
 public void AssignRoomReference()
 {
     roomProgress = FindObjectOfType <RoomProgress>();
 }
Esempio n. 3
0
 public void AssignCurrentRoomReference()
 {
     currentRoomProgress = FindObjectOfType <RoomProgress>();
 }
 private void Awake()
 {
     fadeImage    = GetComponentInChildren <Image>();
     roomProgress = FindObjectOfType <RoomProgress>();
     SetAlphaOne();
 }