Properties
clickMovementThreshold
clickMovementThreshold: number = ...
Readonly entity
entity: Entity2D
hitArea
Readonly id
id: number = ...
Readonly isDestroyed
isDestroyed: boolean = false
Readonly isDestroying
isDestroying: boolean = false
Readonly priority
priority: number = ...
touchThrough
touchThrough: boolean = false
Static Priority
Priority: { Align: number; Layout: number; Low: number; Physics: number; Render: number; Tool: number } = ...
Type declaration
-
Align: number
-
Layout: number
-
Low: number
-
Physics: number
-
Render: number
-
Tool: number
Static Optional Serialize
Serialize: (...args: any[]) => any
Static TOUCH_EVENTS
TOUCH_EVENTS: typeof TouchEventNames = ...
2D点击组件,负责点击判定和事件分发。