string dir = basename(fullPath)
if(!_fileUtils->isDirectoryExist(dir)) {
if(!_fileUtils->createDirectory(dir)) {
// Failed to create directory
CCLOG("AssetsManagerEx : can not create directory %s\n", fullPath.c_str())
unzClose(zipfile)
return false
}
试试string dir = basename(fullPath)
if(!_fileUtils->isDirectoryExist(dir)) {
if(!_fileUtils->createDirectory(dir)) {
// Failed to create directory
CCLOG("AssetsManagerEx : can not create directory %s\n", fullPath.c_str())
unzClose(zipfile)
return false
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)