- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
MarcoReus · May 10, 2015 at 03:15 PM ·
scripting problem
Exposing and accesing animator related variables in inspector.
In unity 5 is it possible to expose animation related data.
Example: public class IdleStateBehaviour : StateMachineBehaviour { public AnimatorState State; }
now here in this script i exposed AnimatorState but how do i assign it from the animator window?When i try to drag the state from animator window to this nothing happens.Can some one help me on these?
Comment
Your answer
Follow this Question
Related Questions
Keep music playing when i reset a scene but stop it when i change scene 1 Answer
Adding callbacks/events to an instantiated prefab 2 Answers
Player prefs 0 Answers
SetActive for objects on a local server 2 Answers
Script executing through walls 1 Answer