NathanSweet 12 жил өмнө
parent
commit
8df81c9fbb

+ 1 - 1
spine-cocos2dx/src/spine/CCSkeletonAnimation.h

@@ -72,7 +72,7 @@ public:
 	void clearTracks ();
 	void clearTrack (int trackIndex = 0);
 
-	void onAnimationStateEvent (int trackIndex, spEventType type, spEvent* event, int loopCount);
+	virtual void onAnimationStateEvent (int trackIndex, spEventType type, spEvent* event, int loopCount);
 
 protected:
 	CCSkeletonAnimation ();