Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CCSprite* pSprite1 = CCSprite::create(tempfilename.c_str());
- int i = 0;
- CCFileUtils *fileUtils = CCFileUtils::sharedFileUtils();
- std::vector<std::string> searchPaths = fileUtils->getSearchPaths();
- searchPaths.insert(searchPaths.begin() + i++, "withword");
- fileUtils->setSearchPaths(searchPaths);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement