Commit 9ee3a957 authored by liujiangnan's avatar liujiangnan

debug

parent 35c46ec6
...@@ -337,6 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -337,6 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 切换一个纸书调试 // 切换一个纸书调试
const isDebug = cc.sys.localStorage.getItem('isDebug'); const isDebug = cc.sys.localStorage.getItem('isDebug');
cc.sys.localStorage.setItem('isDebug', !isDebug); cc.sys.localStorage.setItem('isDebug', !isDebug);
this.middleLayer.showTips(`已切换为 ${isDebug?'正常':'Debug'} 模式`);
} }
bk.attr({bk_count: null}); bk.attr({bk_count: null});
}, 2000); }, 2000);
......
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