示例#1
0
        private void OnDisable()
        {
            Editor = null;

            StateMachineEditor.Editor?.Close();

            rootVisualElement.Remove(GraphView);

            _styleSheet = null;
        }
示例#2
0
 public static void ShowEditor()
 {
     Editor = GetWindow <AnimationGraphEditor>();
     Editor.titleContent = new GUIContent("Animation Graph");
 }