技能直线 完善

This commit is contained in:
2025-01-24 11:11:11 +08:00
parent 93337c145a
commit 399382252d
10 changed files with 14 additions and 14 deletions

View File

@@ -102,7 +102,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 50, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@@ -102,7 +102,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 50, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@@ -114,8 +114,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.7, "x": 0.8,
"y": 0.7, "y": 0.8,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,

View File

@@ -64,8 +64,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.7, "x": 1,
"y": 0.7, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,

View File

@@ -114,8 +114,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.7, "x": 1,
"y": 0.7, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,

View File

@@ -114,8 +114,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.7, "x": 1,
"y": 0.7, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,

View File

@@ -102,7 +102,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 70, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@@ -99,7 +99,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 70, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@@ -102,7 +102,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 50, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {

View File

@@ -8,7 +8,7 @@ export class LineCom extends Component {
base:SkillCom = null base:SkillCom = null
start() { start() {
this.base =this.node.getComponent(SkillCom) this.base =this.node.getComponent(SkillCom)
this.node.setPosition(this.node.position.x,this.node.position.y+50,this.node.position.z)
} }
update(deltaTime: number) { update(deltaTime: number) {