Add an input switch to the minigame settings and fix monster spawn issues

This commit is contained in:
Michal Pikulski
2025-10-14 09:04:05 +02:00
parent 2573e7f80e
commit 05f63b28a0
7 changed files with 173 additions and 18 deletions

View File

@@ -294,6 +294,8 @@ namespace Minigames.DivingForPictures
private void SpawnMonster(Transform spawnPoint)
{
Debug.Log("Spawning monster: " + spawnPoint.name);
if (monsterPrefabs.Length == 0)
{
Debug.LogWarning("No monster prefabs assigned to DivingGameManager.");