Let’s say we’ve got a simple script:
if
(Input.GetButton ("Aiming") && Input.GetButton ("Action")){
animation.CrossFade("shoot");
}
But if I let “Action” button up almost immediately or trying to press the button very fast the animation clip doesn’t play till the very end. Is there any solution to make animation play it’s full length, so that the next action (button press) will be available only after animation’s finished? Thanks in advance for your help