//Editor Stuff #if UNITY_EDITOR public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph) { foreach (Node node in nodes) { node.OnEditorWindowOpen(_graph); } }
public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph) { graph = _graph; foreach (Transition transition in transitions) { transition.OnEditorWindowOpen(_graph); } }
public AnimationNodeWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect) { graph = _graph; }
public static void ShowEditor(AIAnimatorController _controller) { AIAnimatorControllerWindow editor = (AIAnimatorControllerWindow)EditorWindow.GetWindow(typeof(AIAnimatorControllerWindow), false); editor.Init(_controller); }
//Editor Stuff #if UNITY_EDITOR public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph) { graph = _graph; myController = _graph.controller; }
void OnEnable() { AIAnimatorController controller = (AIAnimatorController)target; AIAnimatorControllerWindow.ShowEditor((controller)); }
public ParametersWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect) { graph = _graph; }
public TransitionWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect) { graph = _graph; }