- Home /
Animation depending on the Int value
I cant seem to find out how to use integers in JavaScript on the internet. Im not sure what to type in to get an animation to play depending on the int value. I want it so when i hold "walk" (w) it plays the "Running" animation but when i let go it plays the "Standing Still" animation.
Thanks in advance :)
unityanswers1.png
(457.3 kB)
Comment