I’m using Mecanim Aninator for my walks, run etc and all that works nicely driven from a C# script. Sometimes I need to start a one-shot animation and that also is not problem using Exit Time. However I need to know when the one-shot has ended from my script.
My suggestion is to create a system that will call that event whenever this situation is not true. I can probably do this if you poke me. I’m just going to make an animation event system that does this for you easily.
In animator set trigger “IsDestroy” and make connections between “Breake” and “Destroy” animation throw change trigger.
“Destroy” animation is empty, Just for triggering