Function findFirstChildRecursive

#include <Geode/utils/cocos.hpp>template<class Type = cocos2d::CCNode>Type*findFirstChildRecursive(,)

Get first node that conforms to the predicate by traversing children recursively

Parameters

node

Parent node

predicate

Predicate used to evaluate nodes
Return value
Child node if one is found, or null if there is none
Examples0