public static void ShowWindow() { BTEditorWindow bTreeEditorWindow = GetWindow(typeof(BTEditorWindow)) as BTEditorWindow; bTreeEditorWindow.titleContent = new GUIContent("行为树编辑器"); bTreeEditorWindow.mIsFirst = true; bTreeEditorWindow.wantsMouseMove = true; bTreeEditorWindow.minSize = new Vector2(600f, 500f); DontDestroyOnLoad(bTreeEditorWindow); BTEditorNodeFactory.Init(); }
public BTEditorGenericMenuBase(BTEditorWindow _window) { mMenu = new GenericMenu(); mWindow = _window; }
public BTEditorRightClickNodeMenu(BTEditorWindow _window) : base(_window) { }
public BTEditorRightClickBlockMenu(BTEditorWindow _window) : base(_window) { Init(); }