fengmin I should have told you this earlier, but there is a translation button on the forum so you can post your reply in your native language.
It looks like you didn't answer Harald's question. Please tell us what Idleanimator
and AttackAnimator
do.
Are you trying to have multiple SkeletonAnimation
objects?
If you want to handle the events of the idle animation and the attack animation separately, as Harald suggested, it would be best to use TrackEntry
to register only the events for specific animations. Have you tried the code Harald suggested?