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);
     }
 }
Example #2
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);
     }
 }
 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);
     }
 }
Example #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);
     }
 }
 private void Init()
 {
     if (this.m_TransitionEditor == null && this.m_ActiveStateMachine != this.target as AnimatorStateMachine)
     {
         this.m_TransitionEditor = new SourceNodeTransitionEditor(this.target as AnimatorStateMachine, TransitionType.eStateMachine, this);
     }
     if (this.m_BehavioursEditor == null)
     {
         this.m_BehavioursEditor = new StateMachineBehaviorsEditor(this.target as AnimatorStateMachine, this);
     }
 }