PotionGui

This commit is contained in:
2025-08-02 15:35:39 +02:00
parent 5bf23cf6d4
commit 4bf2804650
4 changed files with 44 additions and 15 deletions

View File

@@ -73,6 +73,7 @@ public class RoomHandler : MonoBehaviour
enemyPrefabsLocal.RemoveAt(0);
// Select a spawn point with round-robin
Debug.Log("Ammount of spawn points: " + spawnPoints.Count);
GameObject spawnPoint = spawnPoints[i % spawnPoints.Count];
Instantiate(enemyPrefab, spawnPoint.transform.position + new Vector3(0, 1, 0), Quaternion.identity);