playMaker

Author Topic: [SOLVED]how to create object that gives "PPP" instead of "PPP(Clones)"  (Read 1921 times)

cmvrgr

  • Junior Playmaker
  • **
  • Posts: 64
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 :)
« Last Edit: September 09, 2013, 12:14:24 PM by cmvrgr »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: how to create object that gives "PPP" instead of "PPP(Clones)" as a name ?
« Reply #1 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.

cmvrgr

  • Junior Playmaker
  • **
  • Posts: 64
Re: [SOLVED]how to create object that gives "PPP" instead of "PPP(Clones)"
« Reply #2 on: September 09, 2013, 12:14:53 PM »
Thanks that was help full.