I have a GameObject "enemy" with an Animator and several states, like "idle", "walk", and "attack".
I want to activate the "hitbox" when an animation "attack" starts. The problems is that the sword does not fall down immediately: it takes about 2 frames.
Is there a way to know what frame of the animation is currently being run?