Hello,
I have created a couple of animations(. anim files) on a game object. I would like to trigger a particular animation, when a key is pressed through C# code. For example, When I press “A” on keyboard, I want to trigger an animation(.anim file) named “A”. I am new to animation please help me with this. I’m attaching the screenshots of my animator controller. Thanks in advance. Please help me.
