minimum: i would like to know what state is mecanim on current gameobject, which transitions goes from the state and also states at the end of the transition
comfortable: same like 1 and i’d like to have access to all mecanim data in runtime
(i already know how to read stuff in editor is it possible to extend Mecanim? - Unity Answers , i am looking for the feature in runtime)
this is second time I am asking this question but with just simple answer refering to animator class etc. What I am looking for are few lines of code which will lguide me a bit, because I did not find it in the reference.
Edit: Unity - Scripting API: AnimatorStateInfo has no info about transitions and Unity - Scripting API: Animator.GetAnimatorTransitionInfo has probably info only about current (running) transition
if you can really help (cause i red the animator reference page few times and still don’t get it) so please!
edit: can somebody please read this and tell me at least that it’s not possible, so far i can read just the state i’m in and next state if i’m in transition, what i need is access to whole mecanim structure - so far i am generating text files by editor script, but it’s very uncomfortable to work this way, cause you are never sure that gamedesigner pushed the right button after all changes