Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 90939

new jsb.Manifest参数问题

$
0
0

let storagePath = ${jsb.fileUtils.getWritablePath()}test;
let am = new jsb.AssetsManager(’’, storagePath);
let obj = {
remoteManifestUrl: ‘http://xxx/a.manifest’,
assets: {}
};
let str = JSON.stringify(obj);
let manifest = new jsb.Manifest(str, storagePath);
am.loadLocalManifest(manifest, storagePath);
am.update();

请问下,new jsb.Manifest和loadLocalManifest的第2个参数的作用?

2 个帖 - 1 位参与者

阅读整个主题


Viewing all articles
Browse latest Browse all 90939

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>