Пример #1
0
 private void Init()
 {
     if (this.m_TransitionsEditor == null)
     {
         this.m_TransitionsEditor = new SourceNodeTransitionEditor(UnityEditor.Graphs.AnimationStateMachine.TransitionType.eAnyState, this);
     }
 }
Пример #2
0
 private void Init()
 {
     if (this.m_TransitionsEditor == null)
     {
         this.m_TransitionsEditor = new SourceNodeTransitionEditor(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);
     }
 }
Пример #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 != (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);
     }
 }
Пример #6
0
 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);
     }
 }