Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17070

Removing children from the Node recursively

$
0
0

@Sumedh wrote:

Hi,

One basic query. I have 2 layers, lets say Layer1 and Layer2. On Layer1 I am adding Layer2 as well as some sprites. On Layer2 I am adding sprites.

Now when I call RemoveAllChildrenWithCleanup(true) on Layer1, will it remove all children from Layer2 as well. Or I have to call RemoveAllChildrenWithCleanup(true) on Layer2 as well.

Regards,
Sumedh

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17070

Trending Articles