[ad_1]
Is it doable to get the dimensions of a file earlier than obtain it on native or net? Does Creator assist this?
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 possibly can seek advice from scorching replace tutorial:
https://docs.cocos.com/creator/guide/en/advanced-topics/hot-update.html
There is a solution to generate the file dimension offered inside.
[ad_2]