コード例 #1
0
        //Editor Stuff
#if UNITY_EDITOR
        public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph)
        {
            foreach (Node node in nodes)
            {
                node.OnEditorWindowOpen(_graph);
            }
        }
コード例 #2
0
ファイル: Node.cs プロジェクト: bouwie/AnimationInstancing
 public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph)
 {
     graph = _graph;
     foreach (Transition transition in transitions)
     {
         transition.OnEditorWindowOpen(_graph);
     }
 }
コード例 #3
0
 public AnimationNodeWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }
コード例 #4
0
        public static void ShowEditor(AIAnimatorController _controller)
        {
            AIAnimatorControllerWindow editor = (AIAnimatorControllerWindow)EditorWindow.GetWindow(typeof(AIAnimatorControllerWindow), false);

            editor.Init(_controller);
        }
コード例 #5
0
        //Editor Stuff
#if UNITY_EDITOR
        public void OnEditorWindowOpen(AIAnimatorControllerWindow _graph)
        {
            graph        = _graph;
            myController = _graph.controller;
        }
コード例 #6
0
        void OnEnable()
        {
            AIAnimatorController controller = (AIAnimatorController)target;

            AIAnimatorControllerWindow.ShowEditor((controller));
        }
コード例 #7
0
 public ParametersWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }
コード例 #8
0
 public TransitionWindow(Rect _windowRect, AIAnimatorControllerWindow _graph) : base(_windowRect)
 {
     graph = _graph;
 }