wuwangdong il y a 4 ans
Parent
commit
f4206f2937

+ 1 - 1
assets/script/game/component/tween/EffectOpenAndClose.ts

@@ -73,7 +73,7 @@ export default class EffectOpenAndClose extends cc.Component {
     start() {
         if (CC_EDITOR) return;
         if (this.isDelayOneFrame) {
-            if(EffectType.scale)
+            if(EffectType.scale === this.open_effect)
             {
                 this.effect_par.opacity = 0;
             }

+ 1 - 1
assets/script/game/module/setting/Setting.ts

@@ -35,7 +35,7 @@ export default class Setting extends cc.Component {
     node_rule: cc.Node = null;
 
     onLoad() {
-        this.initData();
+        //this.initData();
     }
 
     start() {