技能弹道完善

This commit is contained in:
2024-08-28 17:45:51 +08:00
parent 4096a17330
commit 5094cb4f3c
7 changed files with 109 additions and 76 deletions

View File

@@ -49,7 +49,7 @@ export class TooltipCom extends CCComp {
}
update(deltaTime: number) {
this.node.setPosition(v3(this.node.position.x,this.node.position.y+deltaTime*10))
this.node.setPosition(v3(this.node.position.x+deltaTime*20,this.node.position.y+deltaTime*50))
if(this.alive_time >=0){
this.alive_time -= deltaTime;
}else{