Hi! In a bit earlier version of mecanim, when runtime controller was not exposed, we could somethins like this to get all states of the layer:
Is there any way to do it right now, with the latest unity? All methods inside InternalUnityEditor seems to be protected and not accessible anymore.
Basically, I wanted to use this Mecanim Animation Event system - GitHub - joshua-jebadurai/UnityAnimatorEvents: This simple plugin adds events and callback events for Unity's Mechanim. - and its based on a bit dated version, as it seems.