查了好多文档,帖子,很多内容都是几年前的,下载了上面的demo都运行不了,唉。。。
console.log("热更新部分");
var storagePath = ((jsb.fileUtils ? jsb.fileUtils.getWritablePath() : '/') + 'remote-asset');
cc.log('Storage path for remote asset : ' + storagePath);
cc.log('Local manifest URL : ' + this.manifestUrl);
this._am = new jsb.AssetsManager(this.manifestUrl, storagePath);
var searchPaths = jsb.fileUtils.getSearchPaths();
cc.log("搜索路径", searchPaths);
问题1:原生端的具体可写路径是什么?这边获取了这个路径是干么用的?
问题2:manifest文件要放在Assets文件夹中吗?
问题3:搜索路径是什么?为什么要获取搜索路径?

