I want to be able to freeze my animation at a particular frame if the player is shooting rapidly. Something like this:
if (timeBetweenShots < 0.3f && timeBetweenShots > 0.0f && animator.GetCurrentFrame() == 20)
{
animator.enabled = false;
}
I see there is a animator.GetCurrentAnimationClipState() but that doesn’t look like what I need, unless I’m mistaken.