From ddb00a010b51e10f43215a68356bc51ae1a379e1 Mon Sep 17 00:00:00 2001 From: yangwen Date: Fri, 30 May 2025 19:00:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8A=A8=E7=94=BB=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/GameDone.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/GameDone.ts b/src/views/GameDone.ts index 183d752..08f2616 100644 --- a/src/views/GameDone.ts +++ b/src/views/GameDone.ts @@ -47,7 +47,7 @@ export class GameDone extends Laya.Script { onAwake(): void { this.owner.x = 0 - this.owner.y = -this.owner.height + this.owner.y = 0 this.obj_panel.alpha = 0 this.obj_panel.scaleX = 0.8 @@ -65,7 +65,7 @@ export class GameDone extends Laya.Script { onStart(): void { - Laya.Tween.to(this.owner, { y: 0 }, 300, Laya.Ease.elasticOut) + // Laya.Tween.to(this.owner, { y: 0 }, 300, Laya.Ease.elasticOut) Laya.Tween.to(this.obj_panel, { alpha: 1 }, 400, Laya.Ease.elasticOut, null, 100) Laya.Tween.to(this.obj_panel, { scaleX: 1, scaleY: 1 }, 400, Laya.Ease.elasticOut, null, 100)