Play sound on animation transition

Hi guys,
I’d like to know if there is a “easy” way to play a sound DURING a certain transition.
I can’t use “animation events” because I don’t want the sound to be played everytime the animation is played but everytime the animation is played AFTER a certain state.

btw : I can’t believe there is not a built in way to call a method within the transition panel of the animator -_-

how do you guys manage this ?
I heard about “animator.GetNextAnimatorStateInfo(0).nameHash” but what is that ?! I can’t find any real documentation about that !

Thank you all

Could you store the current animation state (as an int) and each frame check to see if the “current animation” = “the stored animation”? If they are not equal, then trigger your event.

nope, it would play the sounds maaaaany times !
I actually solved the problem using “state machine behavior”