This commit is contained in:
walkpan
2024-11-20 06:35:57 +08:00
parent d930cb1b81
commit 7f975d2eeb
2 changed files with 5 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ export class TooltipCom extends CCComp {
// this.alive_time = 2
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x-20,this.node.position.y), },
{position:v3(this.node.position.x,this.node.position.y), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"