xx il y a 1 an
Parent
commit
d78480a4bd

+ 2 - 2
assets/resources/prefabs/game.prefab

@@ -8598,11 +8598,11 @@
         "__expectedType__": "cc.SpriteFrame"
       },
       {
-        "__uuid__": "d2bbec2b-2257-4699-95de-bed135f3dc2d@df58f",
+        "__uuid__": "d2bbec2b-2257-4699-95de-bed135f3dc2d@8a266",
         "__expectedType__": "cc.SpriteFrame"
       },
       {
-        "__uuid__": "d2bbec2b-2257-4699-95de-bed135f3dc2d@8a266",
+        "__uuid__": "d2bbec2b-2257-4699-95de-bed135f3dc2d@df58f",
         "__expectedType__": "cc.SpriteFrame"
       }
     ],

+ 3 - 3
assets/resources/ui/home.prefab

@@ -251,7 +251,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 405.0000000000001,
+      "y": 405,
       "z": 0
     },
     "_lrot": {
@@ -2476,7 +2476,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -960.0000000000001,
+      "y": -960,
       "z": 0
     },
     "_lrot": {
@@ -5399,7 +5399,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1920.0000000000002
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 2 - 2
assets/script/config.ts

@@ -98,8 +98,8 @@ export class config  {
 
     public static SHOW_BUFF_STATUS = {
         DUN:0,
-        XI:1,
-        XING:2
+        XING:1,
+        XI:2
     }
 
     public static UI_EVENT ={

+ 2 - 2
assets/script/game/buff/buff_manager.ts

@@ -34,8 +34,8 @@ export class buff_manager extends Component {
             return
         }
         this.curShowBuffType = type
-        console.log("this.curShowBuffType",this.curShowBuffType)
-        this.hideAll()
+        // console.log("this.curShowBuffType",this.curShowBuffType)
+        // this.hideAll()
         this.effect_node.getComponent(effect_node).updateStatus(this.curShowBuffType)
         switch (type) {
             case config.SHOW_BUFF_STATUS.DUN: