Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. CCSprite* pSprite1 = CCSprite::create(tempfilename.c_str());
  2.  
  3. int i = 0;
  4. CCFileUtils *fileUtils = CCFileUtils::sharedFileUtils();
  5. std::vector<std::string> searchPaths = fileUtils->getSearchPaths();
  6. searchPaths.insert(searchPaths.begin() + i++, "withword");
  7. fileUtils->setSearchPaths(searchPaths);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement