How to move character with specific units with animation?

I’m having trouble making the character walk with specific units including animation. I used transform.translate() and anim.SetFloat() but it’s not animating . I’m using Ethan character. Which code should I use? Thanks!

Try DoTween. It’s a good tweeter library. Or you can use Update() or Enumerator to move it frame by frame.