Misaki 最后我想问一下我该在什么地方注销我的complete事件注册,下面的例子正确吗
Spine.TrackEntry trackEntry = attackAnimator.SetAnimation(0, "attack", false);
trackEntry.Complete+= AttckAnimalComplete;
animationState.AddEmptyAnimation(0, 0, 0);
void AttckAnimalComplete(TrackEntry trackEntry)
{
isAttck = false;
trackEntry.Complete -= AttckAnimalComplete;
}