Capture state exit point in mecanim?

Hello, How can I approach generating event between state transition? (In Mecanim) For example I have use state, where player will play one of the unique use animations and then exit back to idle state. How can I capture that transition to use in script?

For example player clicks button and after animation is finished Door opens. is there something like onStateExit?

You can get the hash ID of the current state. While it’s not what I’d call an elegant solution, you could check and store the current state hash each time and fire your own event whenever it changes.

Thanks, I guess I’ll have to go with something like that.

I think this feature will be added in next releases or it should be added at least.