主要使用函数为:
Director::getInstance()->getTextureCache()->addImageAsync("jiaocheng.png",CC_CALLBACK_1(LoadingScene::loadedCallBack,this));void LoadingScene::loadedCallBack(cocos2d::Texture2D *texture); 原文链接:https://www.f2er.com/cocos2dx/345486.html
主要使用函数为:
Director::getInstance()->getTextureCache()->addImageAsync("jiaocheng.png",CC_CALLBACK_1(LoadingScene::loadedCallBack,this));void LoadingScene::loadedCallBack(cocos2d::Texture2D *texture); 原文链接:https://www.f2er.com/cocos2dx/345486.html