整理代码格式

This commit is contained in:
2025-06-19 20:15:57 +08:00
parent ea0e00f495
commit 14661e7bf4
2 changed files with 10 additions and 10 deletions

View File

@@ -34,11 +34,11 @@ export class Difficulty extends Laya.Script {
}) })
} }
destroyUI(): void { destroyUI(): void {
Laya.Tween.to(this.mask, { alpha: 0 }, 400, Utility_EaseOut_2, Laya.Handler.create(this, () => { Laya.Tween.to(this.mask, { alpha: 0 }, 400, Utility_EaseOut_2, Laya.Handler.create(this, () => {
this.owner.destroy() this.owner.destroy()
})) }))
} }
onStart(): void { onStart(): void {
Laya.Tween.to(this.offset, { y: 0 }, 200) Laya.Tween.to(this.offset, { y: 0 }, 200)