Skip to content

chaosfish/cocos2d-x-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

cocos2d-x-notes

Node

遍历子节点方式

for (auto& child : node->getChildren())
{
    if (child)
    {
        Widget* widgetChild = dynamic_cast<Widget*>(child);
        if (widgetChild)
        {
            log(widgetChild->getName());
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published