核心代码如下:
auto UI = cocostudio::GUIReader::getInstance()->widgetFromJsonFile("MyUi_1.json");@H_403_3@ this->addChild(UI);
ActionManagerEx::getInstance()->playActionByName("MyUi_1.json","Animation0");
搞了一天快累死了,下次有空再详细编辑。