Hello!
I want to animate my model in the game when i press the W or R button.
When i start the game, it says: ‘‘Input Button r is not setup.’’
I want to define a new button in Input Manager, but i don’t know how.
I made this: but doesn’t work. I read and watched tutorials and instructions, but i don’t understand.
Thank you!
I have a very basic script:
if(Input.GetButtonDown("r"))
{
animation.Play("AnimationAction_001");
}
( This is not the whole script )