I have created a basic animation on a gameobject like changing its position, However I’m not able to integrate the animation(.anim file) to a code in C#, such that if I say “move”(voice command) , the animation should start, I’m a newbie to the animation and scripting in Unity, Please help me on how to integrate animation to scripting.
Thanks in advance