Is it possible to read states / transitions from mecanim in runtime ? (88849)

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? - Questions & Answers - Unity Discussions , i am looking for the feature in runtime)

2 Answers

2

well however sfbaystuios smart you think, it’s not possible and your answer is irrelevant

have you actually try it? how do i get current state or state array or next state? how do i get all transitions from the current state? because http://docs.unity3d.com/Documentation/ScriptReference/AnimatorStateInfo.html has no info about transitions and http://docs.unity3d.com/Documentation/ScriptReference/Animator.GetAnimatorTransitionInfo.html 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!