I am creating a runner game for android, i have added runner animation which comes after my idle animation. Problem is with slide animation, i downloaded a running slide animation from mixamo. And added to my character in Unity. Everything is working fine, only the problem is with animation. When i am sliding the animation is occuring but my character is moving forward (because its a running slide animation so there is a run thing in animation itself which is making my game forward run and the animation slide run together) and because of this my character slides forward according to the animation and then comes back and runs.
How can i fix this ?