//Editor Stuff
#if UNITY_EDITOR
        public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph)
        {
            foreach (Node node in nodes)
            {
                node.OnEditorWindowOpen(_graph);
            }
        }
Exemple #2
0
 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);
        }
Exemple #5
0
        //Editor Stuff
#if UNITY_EDITOR
        public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph)
        {
            graph        = _graph;
            myController = _graph.controller;
        }
Exemple #6
0
        void OnEnable()
        {
            AIAnimatorController controller = (AIAnimatorController)target;

            AIAnimatorControllerWindow.ShowEditor((controller));
        }
Exemple #7
0
 public ParametersWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }
 public TransitionWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }