Function getChildByTagRecursive

#include <Geode/utils/cocos.hpp>cocos2d::CCNode*getChildByTagRecursive(,
inttag
)

Gets a node by tag by traversing children recursively

Parameters

node

Parent node

tag

Target tag
Return value
Child node with specified tag, or null if there is none
Examples0