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

            AIAnimatorControllerWindow.ShowEditor((controller));
        }
Ejemplo n.º 7
0
 public ParametersWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }
Ejemplo n.º 8
0
 public TransitionWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }