i was create multiple balls with clones, and i want to delete that clones one by one, if i use "Destroy(gameObject)" command that game object was entirely deleting with its clone also, can any one say the ans for it?
Actually i have created clone balls using instantiate, and much harder when i'm trying to destroy.
Finally i got the answer for it.here it is,
it'll destroy your game objects continuously when it reaches certain distance.
we can easily delete multiple clones with simple using "Tags".... first we need to tag all clones using "GameObject.FindGameObjectsWithTag("something")"....
assume tag name : "Lock"
here all the clones with tag name "Lock" will destroy easily........
answered Jan 20 '11 at 08:55 AM