Commit 25b9a9bb authored by limingzhe's avatar limingzhe

fix: debug

parent 17483c04
...@@ -68,7 +68,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -68,7 +68,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData(); this.initData();
this.initView(); this.initView();
// this.initEvent(); // this.initEvent();
this.gameStart(); // this.gameStart();
// this.showBgLightAction(); // this.showBgLightAction();
} }
protected onDestroy(): void { protected onDestroy(): void {
...@@ -408,6 +408,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -408,6 +408,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private updateTime = 2; private updateTime = 2;
private isGuide = false private isGuide = false
update(dt) { update(dt) {
return;
if (Game.getIns().state != GAME_STATE.RUNNING) return; if (Game.getIns().state != GAME_STATE.RUNNING) return;
if (!this.isGuide) return; if (!this.isGuide) return;
this.isHitBalloon(); this.isHitBalloon();
......
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