xx 1 year ago
parent
commit
9978b586f9
2 changed files with 5 additions and 5 deletions
  1. 4 4
      assets/resources/prefabs/game.prefab
  2. 1 1
      assets/script/game/buff/buff_dun_chong.ts

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

@@ -509,7 +509,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 286,
+      "y": 168,
       "z": 0
     },
     "_lrot": {
@@ -805,11 +805,11 @@
     },
     "_alignFlags": 1,
     "_target": {
-      "__id__": 12
+      "__id__": 11
     },
     "_left": 0,
     "_right": 0,
-    "_top": -30,
+    "_top": -40,
     "_bottom": 0,
     "_horizontalCenter": 0,
     "_verticalCenter": 0,
@@ -872,7 +872,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -100,
+      "y": -150,
       "z": 0
     },
     "_lrot": {

+ 1 - 1
assets/script/game/buff/buff_dun_chong.ts

@@ -4,7 +4,7 @@ const { ccclass, property } = _decorator;
 @ccclass('buff_dun_chong')
 export class buff_dun_chong extends Component {
     public init(){
-        this.node.position = new Vec3(0,this.node.parent.getComponent(UITransform).contentSize.height*-1)
+        // this.node.position = new Vec3(0,this.node.parent.getComponent(UITransform).contentSize.height*-1)
     }
     public playAnimation(){
         // this.node.getComponent(Animation).stop()