mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
24 lines
629 B
TypeScript
24 lines
629 B
TypeScript
import { ccenum } from '../core/value-types/enum';
|
|
|
|
export enum EventType {
|
|
TRANSFORM_CHANGED = 'transform-changed',
|
|
POSITION_PART = 'position-part',
|
|
ROTATION_PART = 'rotation-part',
|
|
SCALE_PART = 'scale-part',
|
|
|
|
SCENE_CHANGED_FOR_PERSISTS = 'scene-changed-for-persists',
|
|
|
|
TOUCH_START = 'touch-start',
|
|
TOUCH_MOVE = 'touch-move',
|
|
TOUCH_END = 'touch-end',
|
|
TOUCH_CANCEL = 'touch-cancel',
|
|
MOUSE_DOWN = 'mouse-down',
|
|
MOUSE_ENTER = 'mouse-enter',
|
|
MOUSE_MOVE = 'mouse-move',
|
|
MOUSE_LEAVE = 'mouse-leave',
|
|
MOUSE_UP = 'mouse-up',
|
|
MOUSE_WHEEL = 'mouse-wheel',
|
|
}
|
|
|
|
ccenum(EventType);
|