Spawn a Prefab when it is destroyed

Please Help! I am a very basic unity user. I want to immediately respawn a prefab when it is destroyed. How to I go about doing this?


Take a look at this link.

In order to realize when your object is destroyed you should use the OnDisabled() method, which is called when an object is destroyed (be aware that it is also called when the object gets disabled). Then you can instantiate a new copy of the prefab.

Ok it is nothing hard just type this in your script I use Unity script by the way but I hope this helps you.

Go to users and type in unityart3ds and you will find your answer.:slight_smile: