So I have my character and a trigger parameter in the animator called "gethit" and I want my caracter to change from the idle position to a getting hit state. I've made this Javascript:
![alt text][1]
[1]: /storage/temp/75679-settrigger.png
and there's the error "'SetTrigger' is not member of 'System.Type'". How can I fix it? I usually use C# when it involves animator but Javascript when it involves "OnTriggerEnter" functions, so I think I'm mixing languages
HELP PLEASE!!
↧