public static void OpenEditor(BehaviourTreeRunner runner) { BehaviourTreeDesignerWindow window = GetWindow <BehaviourTreeDesignerWindow>(); window.InitWith(runner); window.Show(); }
public static void OpenEditor(BehaviourTreeAsset asset) { BehaviourTreeDesignerWindow window = GetWindow <BehaviourTreeDesignerWindow>(); window.InitWith(asset); window.Show(); }
public BehaviourCommentGUI(BehaviourTreeDesignerWindow window) { SortOrder = -2; mWindow = window; mDragEnd = true; Comment = ""; }
public override void OnInspectorGUI() { base.OnInspectorGUI(); EditorGUILayout.BeginHorizontal(); if (GUILayout.Button("打开编辑器", "LargeButton")) { BehaviourTreeDesignerWindow.OpenEditor(target as BehaviourTreeAsset); } EditorGUILayout.EndHorizontal(); }
public BehaviourRootGUI(BehaviourTreeDesignerWindow window) : base() { mWindow = window; mLockTex = DevilEditorUtility.GetTexture(Path.Combine(Installizer.InstallRoot, "DevilFramework/Editor/Icons/lock.png")); }
public BlackboardMonitorGUI(BehaviourTreeDesignerWindow window) : base() { mWindow = window; }
public BehaviourNodeGUI(BehaviourTreeDesignerWindow window) : base() { mWindow = window; }
public BehaviourTreeWireGUI(BehaviourTreeDesignerWindow window) : base() { mWindow = window; SortOrder = -1; color = Color.white * 0.7f; }
public BehaviourTreeContextMenuGUI(BehaviourTreeDesignerWindow window) : base() { mWindow = window; SortOrder = 10; }