private void Options(Rect position) { if (GUILayout.Button("Open")) { BehaviorTreeEditorWindow.Open(target); } }
public override void OnInspectorGUI() { if (GUILayout.Button("Edit")) { BehaviorTreeEditorWindow.Open(this.BehaviorTree); } }