死亡动画bug修复
This commit is contained in:
@@ -100,7 +100,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 4.463,
|
"y": -11.989,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1.1,
|
"x": 0.9,
|
||||||
"y": 1,
|
"y": 1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
@@ -428,7 +428,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 10.531,
|
"y": -5.921,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -440,8 +440,8 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1.0000000000000002,
|
"x": 0.8,
|
||||||
"y": 1.0000000000000002,
|
"y": 0.8,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_mobility": 0,
|
"_mobility": 0,
|
||||||
@@ -6861,7 +6861,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -21.65,
|
"x": -21.65,
|
||||||
"y": 3.598,
|
"y": -12.854,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -7250,8 +7250,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 3.852,
|
||||||
"y": 0,
|
"y": -16.452,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 339 KiB After Width: | Height: | Size: 337 KiB |
@@ -199,7 +199,7 @@ export class BuffComp extends Component {
|
|||||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||||
var node = instantiate(prefab);
|
var node = instantiate(prefab);
|
||||||
let pos = v3(this.node.position.x,this.node.position.y+30,this.node.position.z);
|
let pos = v3(this.node.position.x,this.node.position.y+30,this.node.position.z);
|
||||||
node.parent = this.node;
|
node.parent = this.node.parent;
|
||||||
node.setPosition(pos);
|
node.setPosition(pos);
|
||||||
}
|
}
|
||||||
in_atked() {
|
in_atked() {
|
||||||
@@ -254,7 +254,7 @@ export class BuffComp extends Component {
|
|||||||
tooltip(type:number=1,value:string="",s_uuid:number=1001,y:number=90){
|
tooltip(type:number=1,value:string="",s_uuid:number=1001,y:number=90){
|
||||||
// console.log("tooltip",type);
|
// console.log("tooltip",type);
|
||||||
let tip =ecs.getEntity<Tooltip>(Tooltip);
|
let tip =ecs.getEntity<Tooltip>(Tooltip);
|
||||||
let pos = v3(0,0);
|
let pos = v3(0,10);
|
||||||
pos.y=pos.y+y;
|
pos.y=pos.y+y;
|
||||||
tip.load(pos,type,value,s_uuid,this.node);
|
tip.load(pos,type,value,s_uuid,this.node);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user