private void Init() { if (this.m_LayerEditor == null) { this.m_LayerEditor = new LayerControllerView(); } this.m_LayerEditor.Init(this); if (this.m_ParameterEditor == null) { this.m_ParameterEditor = new ParameterControllerView(); this.m_ParameterEditor.Init(this); } if (this.stateMachineGraph == null) { this.stateMachineGraph = ScriptableObject.CreateInstance <UnityEditor.Graphs.AnimationStateMachine.Graph>(); this.stateMachineGraph.hideFlags = HideFlags.HideAndDontSave; } if (this.stateMachineGraphGUI == null) { this.stateMachineGraphGUI = (this.stateMachineGraph.GetEditor() as UnityEditor.Graphs.AnimationStateMachine.GraphGUI); } if (this.blendTreeGraph == null) { this.blendTreeGraph = ScriptableObject.CreateInstance <UnityEditor.Graphs.AnimationBlendTree.Graph>(); this.blendTreeGraph.hideFlags = HideFlags.HideAndDontSave; } if (this.blendTreeGraphGUI == null) { this.blendTreeGraphGUI = (this.blendTreeGraph.GetEditor() as UnityEditor.Graphs.AnimationBlendTree.GraphGUI); } if (this.m_BreadCrumbs == null) { this.m_BreadCrumbs = new List <AnimatorControllerTool.BreadCrumbElement>(); this.ResetBreadCrumbs(); } AnimatorControllerTool.tool = this; }
public Element(UnityEngine.AnimatorControllerParameter parameter, ParameterControllerView host) { this.m_Host = host; this.m_Parameter = parameter; }
public TriggerElement(UnityEngine.AnimatorControllerParameter parameter, ParameterControllerView host) : base(parameter, host) { }
public TriggerElement(UnityEngine.AnimatorControllerParameter parameter, ParameterControllerView host) : base(parameter, host) { }
public Element(UnityEngine.AnimatorControllerParameter parameter, ParameterControllerView host) { this.m_Host = host; this.m_Parameter = parameter; }