Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: cmvrgr on September 04, 2013, 08:22:29 PM
-
I created an fsm that created clones of an object on a strate line over time.
How I can delete the clones after I click a button ?
I tried to create a empty game object and i attached the "main object" that is cloned but when clones are created they are created out of that game object and I cant delete them all together with the "destroy object" .
thanks
-
One simple way is to parent all the created clones to a parent object, then delete the parent object to delete all the clones. You can then make a new parent object so you can repeat this over and over...
You can often use the scene hierarchy to make group operations much easier. E.g.,
you could extend this idea to organize different "buckets" of objects under different parents.
-
Found a solution. If someone needs help Just sent PM ... I will be happy to assist.
-
@cmvrgr What solution did you find ? can you tell us here so others can also find it useful. Thanks