We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.2.5可以,5.2.10版本不能使用。你的工程运行结果如下:
load json default.res.json Main.ts:78 load json config/1.json Main.ts:78 load json config/2.json Main.ts:78 load json config/3.json Main.ts:78 load json config/4.json
问题1: RES.config.config.resourceRoot; RES.config已经没有
问题2: 5.2.10加了这句data["root"] = ''; ,我自己把去掉了。
Resource.prototype.addResourceData = function (data) { //fixed by l2xin 不明白为什么 //data["root"] = ''; RES.config.addResourceData(data); };
下面这样写3个文件是ok的,多加一个就失败
if (!RES.hasRes(name)) { const url = "total.json"; const type = 'json'; const root = "resource/"; //ResourceManager.Instance.ResourceRoot; const resource = { name, url, type, root }; RES.$addResourceData(resource); await RES.getResAsync(name); this.totalContent = RES.getRes(name); } else { if (this.totalContent == null) { await RES.getResAsync(name); this.totalContent = RES.getRes(name); } }
The text was updated successfully, but these errors were encountered:
5.2.12一样有这个问题,卡在 await RES.loadGroup("preload", 0, loadingView); 这里没返回了。
Sorry, something went wrong.
问题出在assetsmanager里
请问能对应新版本的assetsmanager更新一下吗?
No branches or pull requests
5.2.5可以,5.2.10版本不能使用。你的工程运行结果如下:
问题1:
RES.config.config.resourceRoot; RES.config已经没有
问题2:
5.2.10加了这句data["root"] = ''; ,我自己把去掉了。
下面这样写3个文件是ok的,多加一个就失败
The text was updated successfully, but these errors were encountered: