@bibagames wrote:
Hi,
I have a sprite with set of cc.Component's attached to it. I want to change parent container of this sprite. I call "removeFromParent" method of this sprite with "cleanup" flag set to "false" before add it to the new container. But when I call "removeFromParent" method it removes all components from the sprite. How can I move the sprite from one container to other without deleting components?
Thank you in advance!
Posts: 1
Participants: 1