Commit 33c32453 authored by liujiangnan's avatar liujiangnan

debug

parent 06a121fa
......@@ -503,11 +503,12 @@ export default class NewClass extends middleLayerBase {
.call(() => {
exitBtn.active = false;
cc.game.removePersistRootNode(this.node);
// cc.director.getScene().destroy();
cc.audioEngine.stopAll();
(<any>window).courseware.freeAllOcMethod();
cc.director.loadScene("middleLayer_for_debug", (err, scene) => {
this.showUI();
const bd = cc.assetManager.getBundle(this.oldSceneName);
bd.releaseAll();
});
})
.start();
......
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