Exemple #1
0
    public void InitialiseSpawnPoints()
    {
        roomSpawnPoints = FindObjectOfType <RoomSpawnPoints>();
        SpawnPoints.Clear();

        foreach (Transform spawnPoints in roomSpawnPoints.enemySpawnPoints)
        {
            SpawnPoints.Add(spawnPoints);
        }
    }
Exemple #2
0
    public void InitialiseSpawnPoints()
    {
        SpawnPoints.Clear();

        roomSpawnPoints = FindObjectOfType <RoomSpawnPoints>();

        foreach (Transform spawnPoint in roomSpawnPoints.quirkSpawnPoints)
        {
            SpawnPoints.Add(spawnPoint);
        }
    }