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