HELP NEEDED ON RESPAWNING

Hello Community im kinda confused on respawning my enemy prefab and all i want it to do is when i shoot it another one will spawn in like straight after and im sorry but i dont have a script this time. Note im using C# Visual Studio if not sure what im using.

Thank You

Create an OnDie() function in your enemy’s script that gets called when the enemy dies. In the OnDie() function, call Instantiate(yourenemyprefab), either at a fixed or random location etc.

Please dont Capslock your title. All threads are equally important and will receive help should someone know an answer. Writing it in caps wont make this process any faster by implying that the thread is more important than others. If anything, this effect (whether intentional or unintentional) may turn people away from helping.

2 Likes

That is not true, if i see an all caps thread, i simply refuse any help. :sunglasses:

Oh and i only care to mention, because the OP made several threads in this fashion already and it has been annoying me for days.

1 Like

Look

Look if your not happy then dont reply at all useful tip