【已解决】导出的CSB文件怎么获取到button?

Node *pNode = CSLoader::createNode(“test.csb”);
Button *button = (Button *)pNode ->getChildByName(“Button_1”);

这是我写的代码,获取不到啊
引擎版本是 cocos2dx-3.4
Stdio 的版本是 2.2.8

百度了一下,出现好多3.0的版本的获取方式,都用不了啊~

auto button = static_castui::Button*(rootNode->getChildByName(“Button_1”));
多看看test工程