Commit 8bc4d5d6 authored by liujiangnan's avatar liujiangnan

feat

parent 4f4ed69a
This diff is collapsed.
......@@ -89,17 +89,7 @@ export class MyCocosSceneComponent extends cc.Component {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.loadAny(preloadArr, null, null, async (err, data) => {
if (window && window["air"]) {
// window["air"].onCourseInScreen = (next) => {
// window["air"].isCourseInScreen = true;
// this.onLoadEnd();
// next();
// };
await this.onLoadEnd();
window["air"].hideAirClassLoading();
} else {
this.onLoadEnd();
}
this.onLoadEnd();
cc.debug.setDisplayStats(false);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment