Skip to content

Commit 145c5bc

Browse files
committed
Align AnimationEventType with EventType updates in Spine C++.
1 parent f108d4e commit 145c5bc

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

cocos/spine/index.jsb.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ export enum AnimationEventType {
9292
* @property {Number} END
9393
*/
9494
END = 2,
95-
/**
96-
* @en The entry will be disposed.
97-
* @zh entry 将被销毁。
98-
*/
99-
DISPOSE = 3,
10095
/**
10196
* @en The play spine skeleton animation complete type.
10297
* @zh 播放骨骼动画完成。
10398
* @property {Number} COMPLETE
10499
*/
105-
COMPLETE = 4,
100+
COMPLETE = 3,
101+
/**
102+
* @en The entry will be disposed.
103+
* @zh entry 将被销毁。
104+
*/
105+
DISPOSE = 4,
106106
/**
107107
* @en The spine skeleton animation event type.
108108
* @zh 骨骼动画事件。

cocos/spine/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ export enum AnimationEventType {
102102
* @property {Number} END
103103
*/
104104
END = 2,
105-
/**
106-
* @en The entry will be disposed.
107-
* @zh entry 将被销毁。
108-
*/
109-
DISPOSE = 3,
110105
/**
111106
* @en The play spine skeleton animation complete type.
112107
* @zh 播放骨骼动画完成。
113108
* @property {Number} COMPLETE
114109
*/
115-
COMPLETE = 4,
110+
COMPLETE = 3,
111+
/**
112+
* @en The entry will be disposed.
113+
* @zh entry 将被销毁。
114+
*/
115+
DISPOSE = 4,
116116
/**
117117
* @en The spine skeleton animation event type.
118118
* @zh 骨骼动画事件。

0 commit comments

Comments
 (0)