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