- Home /
Javascript. Respawning a character after destroyobject().
Hello,
My main problem is like this (sorry if this is basic, I'm very new to Unity). I have a set of objects that are destroyed after I enter a particular objects collider. I do this by setting a static variable which is contained by all the objects.
My problem was, I want all the objects to respawn after 20 seconds i.e. all the objects that were destroyed should come back. Is there any method by which I can do this or is there any way by which I can make my original implementation easier to solve?
Will this work?
http://answers.unity3d.com/questions/340474/respawn-the-object-as-its-been-destroyed-easy-scri.html
Thanks!
Your answer
Follow this Question
Related Questions
help with character respawn after death (javascript) 1 Answer
WaitForSeconds() Not Working 1 Answer
How can I create New GameObject (Instantiate) 1 Answer
all objects sharing script get destroyed? 3 Answers
Script error: respawn upon collission 2 Answers