Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: cmvrgr on September 08, 2013, 10:46:46 AM

Title: [SOLVED]how to create object that gives "PPP" instead of "PPP(Clones)"
Post by: cmvrgr on September 08, 2013, 10:46:46 AM
I have an empty object named "PPP". I am using "set game object" to a game object variable.

After that I do "destroy object" the object "PPP" and after that I do "create object" from the game object variable.

The crazy part even the original "PPP" object was destroyed the create object gives "PPP(Clones)" instead of "PPP". After that I am running a set name or game object variables but nothing changes. It remains "PPP(clone)".

Any ideas ? Any help will be appreciated :)
Title: Re: how to create object that gives "PPP" instead of "PPP(Clones)" as a name ?
Post by: Alex Chouls on September 08, 2013, 02:11:23 PM
Unity automatically adds (Clone). But you could use Set Name to set it back to PPP after creating it.
Title: Re: [SOLVED]how to create object that gives "PPP" instead of "PPP(Clones)"
Post by: cmvrgr on September 09, 2013, 12:14:53 PM
Thanks that was help full.