Hi! So I want my character to play an animation when he attacks outside battle (like swinging a sword). I already set the left control key as an input key.
I also added the key to my control map, making it an attack action.
Now I want to execute some function when this key is pressed if my character has something equipped on the "Arma" slot. The function is called "Ataque".
I put the class name in the Player, like this:
That's my script:
And here's where my script is located:
However, nothing happens when I press left control. It should show the debug message. Am I doing something wrong?
Is the attack actually useable in the field? Also, is the control map added to the combatant?
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Also, is the control map added to the combatant?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!