noch mehr sprechen
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user