Is it doable to get the scale of a file earlier than obtain it on native or internet? Does Creator assist this?
Right here i can’t get this info:
cc.assetManager.loadRemote<cc.JsonAsset>('https://someurl/asset.json', (err, asset) => {
});
cc.assetManager.loadBundle(bundleName, choices, completeCallback);
you’ll be able to check with scorching replace tutorial:
https://docs.cocos.com/creator/handbook/en/advanced-topics/hot-update.html
There’s a technique to generate the file measurement offered inside.