- Home /
Question by
Undies · Sep 11, 2010 at 05:23 PM ·
destroydestroy-clones
Deleting multiple clones
How do I destroy multiple codes by code?
For example
Destroy (GameObject.Find ("Cross(Clone)"));
destroys the "Cross(Clone)"
but
Destroy (GameObject.Find ("Cross(Clone)"));
Destroy (GameObject.Find ("Cross(Clone)"));
Destroy (GameObject.Find ("Cross(Clone)"));
only destroys one clone not three clones, leaving the other two clones undestroyed.
What is the correct code for displaying all three clones at the same time?
Comment
Your answer
Follow this Question
Related Questions
How to Destroy Individual Instance of an Object 3 Answers
Destroy() not working on prefab instance 2 Answers
How To Destroy A Clone? 2 Answers
Destroying Children Individually (Horrible..) 2 Answers
Destroy(clone) not destroying the instantiated prefab 1 Answer