c# - How to play an attack animation plus adding a certain amount of damage -


i've been trying put 1 attack animation working , playing non-stop instead of playing when press left-shift.

enter image description here

enter image description here

enter image description here

for now, have.

set null state or idle in controller , make sure it's base state, create parameter trigger name attack, drag animation controller , transition base attack anim parameter attack , transition back.

in code on shift press write anim.settrigger ("attack");

also if u haven't referenced animation either draging in variable or getcomonent ref wont work :)


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -