Extract info from animator

We are using some of the animators purely as state machines, they are very handy in debugging stuff, but with more animators, it becomes harder for the android device to compute (frame freezes on transitions to states with a large number of transitions on it).

We think to change animator state machine to the lightweight script state machine, but for that, we need to extract all of the info from animators including transitions and their durations, all of the states and blend trees

Is there a solution to it?

nevermind found a great repo that does all of it, just needed to fix some null reference exceptions and add any state and check for default state. Repo here : GitHub - jonjongao/AnimatorControllerCopycat: Quick producing AnimationController in new AnimationClip with same construct for Unity