- Home /
Question by
SoulWolf · Oct 22, 2010 at 04:40 AM ·
destroydestroy-clones
How To Destroy A Clone?
Sorry about asking a obious question (I'm a newbie) but I wanted to know how to destroy a clone in JavaScript?
Comment
Answer by poncho · Jan 12, 2011 at 06:04 PM
the way i use for the clone destroys is
Destroy(GameObject.Find("CloneName")); hope this helps you
Answer by Jesse Anders · Oct 22, 2010 at 10:18 AM
Generally you would destroy a game object using Object.Destroy().
Is that what you're looking for?
Yes but whenever I put that in it says it expects : but got ;
If you're getting a syntax error, post the exact error and the code that's generating it, and someone will be able to help. (You can edit your original post and add the information there directly.)
Your answer