Animation Controller from 3Ds max

I have a question about animation controller. I have 3D object that is horse, I built this from 3Ds Max complete with animaton idle, run, and jump. I want this horse move(run) when I press “W” button. I ask my friend and he says I have to use set parameter or bool. But I still confused how to set this cause this animation is made in 3Ds Max not Unity.

Regards,

I don’t know as well what your friend wants with a bool but if I where you I would just make a simple if statement:

if(Input.GetKeyUp(KeyCode.W)){
     animation.Player("Run");
}

Make sure you have your animation type(select prefab, Rig, animation type) on Legacy.

Kk thanks. I’ll try it