You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
And with this logic copy also the components from original object.
I suggest it because in my game my items have required components so with the original logic i lost the components.
Cheers.
The text was updated successfully, but these errors were encountered:
alejodaraio
changed the title
Clon on add
Clon on addChild or just set as parent ?
Mar 3, 2017
I dont know why create a new GameObject on AddChild when just you can set the current clone object as parent
Original:
Change:
So when implement Stitch you don´t need destroy cloned gameobject:
And with this logic copy also the components from original object.
I suggest it because in my game my items have required components so with the original logic i lost the components.
Cheers.
The text was updated successfully, but these errors were encountered: