Question by
NKolda · Jun 18, 2019 at 08:50 PM ·
animationactionoverlapping
Disabling other actions during another
Was having some bugs where spam clicking caused the character to do multiple of the same thing before the animation could catch up.
In this case, if the player's "miss" animation plays, they can still attack and destroy other objects before the miss animation has ended - which doesn't look right.
So, I'm tryna get it so no other actions, functions or animations of the character can happen until the miss one ends. Is there something I can add in the script to check if the animation is playing so that I can disable the boolean which allows other functions to happen?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612203428im_/https://answers.unity.com/themes/thub/images/avi.jpg)