- Home /
Question by
RemDust · Dec 22, 2018 at 01:47 PM ·
animationsstate machinebehavior
How to get reference to a specific StateMachineBehavior
Hi there, I have a custom statemachinebehavior used on almost every animation, I'd like to get a local reference to only specific ones, by animation name selectively.
I know about animator.GetBehaviors() but how can I get a reference to, let's say the behavior attached to the Jump animation from my monobehaviors ?
Thank you guys :)
Comment