Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TweenSystem

缓动系统。

Hierarchy

  • System
    • TweenSystem

Implements

Index

Properties

Protected _executeInEditMode

_executeInEditMode: boolean = false

Protected _id

_id: string = ""

Protected _priority

_priority: number = 0

Private Readonly actionMgr

actionMgr: ActionManager = new ActionManager()

Static Readonly ID

ID: "TWEEN" = "TWEEN"

此系统的 ID 标记。

Static Readonly instance

instance: TweenSystem

获取缓动系统的实例。

Accessors

ActionManager

  • get ActionManager(): ActionManager

id

  • get id(): string
  • set id(id: string): void

priority

  • get priority(): number
  • set priority(value: number): void

Methods

init

  • init(): void

postUpdate

  • postUpdate(dt: number): void

update

  • update(dt: number): void
  • 系统的帧更新函数,它会在所有组件的 update 和 lateUpdate 之间被调用

    Parameters

    • dt: number

      Delta time after the last frame

    Returns void

Static sortByPriority

  • sortByPriority(a: System, b: System): 1 | -1 | 0

Generated using TypeDoc