整理代码格式
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user