整理代码格式

This commit is contained in:
2025-06-10 18:24:50 +08:00
parent 285a1f9efe
commit 17c25ca099
18 changed files with 108 additions and 116 deletions

View File

@@ -1,6 +1,6 @@
import { Utility_EaseOut } from "../utils/utility";
import BezierEasing from "bezier-easing"
import { Utility_EaseOut } from "../utils/utility"
import { AutoDestroy } from "./common/AutoDestroy"
import BezierEasing from 'bezier-easing';
const { regClass, property } = Laya
@@ -25,10 +25,9 @@ export class ScoreAdd extends Laya.Script {
}
onStart(): void {
// const filter: Laya.GlowFilter = new Laya.GlowFilter("#000000", 5, 0, 0);
// this.label.filters = [filter];
function bezierEaseLaya1(t: number, b: number, c: number, d: number) {
const bezier = BezierEasing(0.55, 1.8, 0.8, 0.95)
const p = bezier(t / d)