Question by
waterlight_ · Apr 25, 2017 at 02:38 PM ·
animatorspeedmechanim
How to get AnimatorState in Animator
hi,
i'm facing a problem where i am trying to change the speed of a state in my animator.
I know this can be achieved by using AnimatorState.speed
.
But i can't seem to find how to get a AnimatorState. I cannot assign it in the inspector, and i didn't find any loop to get for example all states in a array and then find the one i need. does anybody know how to get a AnimatorState variable?
Comment