Question by
WeirderChimp · Jan 25, 2016 at 04:26 AM ·
animatorstate-machinebehaviour
Animator GetBehavior Question
Hey.
In the Docs for Animator.GetBehaviour the description is "Return the first StateMachineBehaviour that match type T or derived from T. Return null if none are found."
But what do they mean by first, because i have multiple of the same behaviours in my Animator Layer?
will it return the Behaviour of the current state im in?
will it return the first Behaviour i attached to a state?
will it return the closest Behaviour that can be transitioned to?
Thanks ~Scott
Comment