Nate Thanks a lot, setToSetupPose
helped. setEmptyAnimation
did not change anything.But I don't understand - why, if I changed the animation to move, did one of the effects of the old animation remain? I changed it here
private void HandleAnimationComplete(Spine.TrackEntry trackEntry)
{
if(trackEntry.Animation.Name != "move")
{
animator.skeleton.SetToSetupPose();
Debug.Log("cleared: " + trackEntry.Animation.Name);
animator.AnimationState.SetAnimation(0, "move", true);
_movement.MultiplySpeed(1);
_usingSkill = false;
}
if(trackEntry.Animation.Name == "jamp")
{
gameObject.layer = 3;
}
}