Sunday, March 24, 2024
HomeSample Page

Sample Page Title


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.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments