For instance I want button square (which is an object button from the asset store) to stop registring inputs if the animation is playing.
So i have created a 3 punch combo animation. I have added a timer condition, if timer >= 0.9 seconds the combo will reset. But i also want to add a condition that if button square is pressed <= 0.5 the inputs shouldnt register.
The problem i have is that while my combo works if i press square button too fast the player object gets stuck in its current animation and wont transition. So if I tap sqaure quickly the player object will remain stuck in its current animation as long as i am tapping square.
So i have added a boolean “button press” variable to the “sqaure” button object that is set to false if the combotimer <0.5 but tge same problem still exists