public void InitialiseSpawnPoints() { roomSpawnPoints = FindObjectOfType <RoomSpawnPoints>(); SpawnPoints.Clear(); foreach (Transform spawnPoints in roomSpawnPoints.enemySpawnPoints) { SpawnPoints.Add(spawnPoints); } }
public void InitialiseSpawnPoints() { SpawnPoints.Clear(); roomSpawnPoints = FindObjectOfType <RoomSpawnPoints>(); foreach (Transform spawnPoint in roomSpawnPoints.quirkSpawnPoints) { SpawnPoints.Add(spawnPoint); } }