Bladeren bron

注释测试代码

kaka 4 jaren geleden
bovenliggende
commit
05c9650054
2 gewijzigde bestanden met toevoegingen van 2 en 6 verwijderingen
  1. 0 4
      assets/script/game/module/guide/Guide.ts
  2. 2 2
      assets/script/mk/system/GuideSystem.ts

+ 0 - 4
assets/script/game/module/guide/Guide.ts

@@ -220,8 +220,6 @@ export default class Guide extends cc.Component {
 
 
             if (this.crtGuide.tr_form == 3 || this.crtGuide.tr_form == 4) {
             if (this.crtGuide.tr_form == 3 || this.crtGuide.tr_form == 4) {
                 this.node_bg.opacity = 0;
                 this.node_bg.opacity = 0;
-                this.node_click['_touchListener'].swallowTouches = false;
-                this.node_bg['_touchListener'].swallowTouches = false;
             }
             }
 
 
             if (this.crtGuide.tr_form == 1 || this.crtGuide.tr_form == 3) {
             if (this.crtGuide.tr_form == 1 || this.crtGuide.tr_form == 3) {
@@ -269,8 +267,6 @@ export default class Guide extends cc.Component {
         this.node_click.height = 0;
         this.node_click.height = 0;
         this.node_finger.opacity = 0;
         this.node_finger.opacity = 0;
         this.node_dialog.opacity = 0;
         this.node_dialog.opacity = 0;
-        this.node_click['_touchListener'].swallowTouches = true;
-        this.node_bg['_touchListener'].swallowTouches = true;
     }
     }
 
 
 
 

+ 2 - 2
assets/script/mk/system/GuideSystem.ts

@@ -19,8 +19,8 @@ export default class GuideSystem {
         // if (!cc.sys.isNative) {
         // if (!cc.sys.isNative) {
         //     this.crtGuideID = 1;
         //     this.crtGuideID = 1;
         // }
         // }
-        //test
-        this.crtGuideID = 0
+        // //test
+        // this.crtGuideID = 0
 
 
         if (this.crtGuideID >= 9999) {
         if (this.crtGuideID >= 9999) {
             mk.console.log("新手引导已做完");
             mk.console.log("新手引导已做完");