cocos2d-x 2.2.4 导入 cocostudio1.5 制作的UI,程序没有报错,但没有显示,不知道原因啊,也不好调试:
程序中这样用的:
UILayer* ul =UILayer::create();
ul->addWidget(GUIReader::shareReader()->widgetFromJsonFile(“TestUI/StartUI.ExportJson”));
this->addChild(ul);
cocos2d-x 2.2.4 导入 cocostudio1.5 制作的UI,程序没有报错,但没有显示,不知道原因啊,也不好调试:
程序中这样用的:
UILayer* ul =UILayer::create();
ul->addWidget(GUIReader::shareReader()->widgetFromJsonFile(“TestUI/StartUI.ExportJson”));
this->addChild(ul);