|
I wanted to make a script that makes my character move faster when they click left-shift. i would also like it to play a certain animation. a few things to take into thought tho i dont want it to play the whole animation just until when they stop pressing left-shift. i already have the animation with the character. it would be nice if there was a variable for it so i can just drag the animation onto the varaible
(comments are locked)
|
|
Search documentation - http://unity3d.com/support/documentation/ScriptReference/Animation.html
Detect left mouse button - So full code:
The animation should be stored in the how do i stop animation when key is released
Nov 10 '12 at 06:19 PM
Skyline Studios
(comments are locked)
|
