This commit is contained in:
2024-11-13 17:20:45 +08:00
parent 4e08ad13d1
commit 9d0ee7e7b5
7 changed files with 98 additions and 296 deletions

View File

@@ -45,7 +45,7 @@ export class TooltipCom extends CCComp {
this.node.getChildByName("add_life").active=true;
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x-30,this.node.position.y+20), },
{position:v3(this.node.position.x,this.node.position.y+20), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"