is it possible to respawn a prefab once it is destroyed.
ie.
Player hits trigger spawns enemy. then you kill the enemy and it destroys prefab. then if you hit the trigger again it respawns the same enemy to kill again. I just cant figure this out.
is it possible to respawn a prefab once it is destroyed.
ie.
Player hits trigger spawns enemy. then you kill the enemy and it destroys prefab. then if you hit the trigger again it respawns the same enemy to kill again. I just cant figure this out.
You should NEVER DESTROY THE PREFAB.
Destroy instance of a prefab.