- Home /
Question by
cbrown129 · Dec 27, 2015 at 11:03 AM ·
animation script
I need help with animating my character by using a script.
I am new to unity and I'm trying to make my character play a walk animation when pressing the w key and play a sprint animation when pressing the w key and the left shift key. I have set up a animator for my animations but I do not know how to link those animations in a script that will play them when a key is pressed. I have search for countless hours and have not found a single tutorial that will work and I understand. If someone can help me by linking me to a tutorial that will help that will be most appreciated. I am using a humanoid rig for my model and my animations.
Comment
Your answer
Follow this Question
Related Questions
How do I get my melee animations to play? 2 Answers
Enable a component after a specific amount of time? 4 Answers
Double Tap Not Working 1 Answer