Node *pNode = CSLoader::createNode(“test.csb”);
Button *button = (Button *)pNode ->getChildByName(“Button_1”);
这是我写的代码,获取不到啊
引擎版本是 cocos2dx-3.4
Stdio 的版本是 2.2.8
百度了一下,出现好多3.0的版本的获取方式,都用不了啊~
Node *pNode = CSLoader::createNode(“test.csb”);
Button *button = (Button *)pNode ->getChildByName(“Button_1”);
这是我写的代码,获取不到啊
引擎版本是 cocos2dx-3.4
Stdio 的版本是 2.2.8
百度了一下,出现好多3.0的版本的获取方式,都用不了啊~