noch mehr sprechen

This commit is contained in:
2024-04-06 21:43:51 +02:00
parent 2f5f25d0bd
commit 2ecb40333c
7 changed files with 174 additions and 45 deletions

View File

@ -25,7 +25,7 @@ public class ZombieSpawner : MonoBehaviour
if (_spawnTimer <= 0)
{
Instantiate(ZombiePrefab, transform.position, Quaternion.identity);
Instantiate(ZombiePrefab, transform.position, Quaternion.identity, transform);
_spawnTimer = 60 / _spawnRate;
}
}