private void Init()
 {
     if (this.m_TransitionsEditor == null)
     {
         this.m_TransitionsEditor = new SourceNodeTransitionEditor(UnityEditor.Graphs.AnimationStateMachine.TransitionType.eAnyState, this);
     }
 }
 private void Init()
 {
     if (this.m_TransitionsEditor == null)
     {
         this.m_TransitionsEditor = new SourceNodeTransitionEditor((base.target as EntryNode).undoableObject as AnimatorStateMachine, UnityEditor.Graphs.AnimationStateMachine.TransitionType.eEntry, this);
     }
 }
 private void Init()
 {
     if ((this.m_TransitionEditor == null) && (this.m_ActiveStateMachine != (base.target as AnimatorStateMachine)))
     {
         this.m_TransitionEditor = new SourceNodeTransitionEditor(base.target as AnimatorStateMachine, UnityEditor.Graphs.AnimationStateMachine.TransitionType.eStateMachine, this);
     }
     if (this.m_BehavioursEditor == null)
     {
         this.m_BehavioursEditor = new StateMachineBehaviorsEditor(base.target as AnimatorStateMachine, this);
     }
 }
예제 #4
0
 private void Init()
 {
     if (this.m_TransitionsEditor == null)
     {
         this.m_TransitionsEditor = new SourceNodeTransitionEditor(this.state, this);
     }
     if (this.m_BehavioursEditor == null)
     {
         this.m_BehavioursEditor = new StateMachineBehaviorsEditor(this.state, this);
     }
 }