animation script
Hi! I need a script to make my sword annimation play only when i press left click. I've already searched on unity answers for scripts to do this thing and i found some scripts, but none of them isn't workng. ( https://postimg.org/image/gbkgkf6ar/ ). The script i'm ussing is this one: https://postimg.org/image/ne289yb41/ . Where is the problem? The script isn't good, or i didn't put it where i should?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612095835im_/https://answers.unity.com/themes/thub/images/avi.jpg)