BehaviorTree / Editor / EditorWindows / BehaviorTreeEditor.uxml
BehaviorTreeEditor.uxml
Raw
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
    <Style src="project://database/Assets/AI/BehaviorTree/Editor/EditorWindows/BehaviorTreeEditor.uss?fileID=7433441132597879392&amp;guid=00ed5e01c172cd94fa2967b58bb96012&amp;type=3#BehaviorTreeEditor" />
    <uie:Toolbar>
        <uie:ToolbarMenu tabindex="-1" display-tooltip-when-elided="true" name="FileMenu" text="File" />
        <uie:ToolbarMenu tabindex="-1" display-tooltip-when-elided="true" text="Create Node" name="CreateNodeMenu" />
        <uie:ToolbarButton text="MiniMap" display-tooltip-when-elided="true" name="Button__MiniMap" />
    </uie:Toolbar>
    <AI.BT.SplitView name="Base" fixed-pane-initial-dimension="250">
        <AI.BT.SplitView orientation="Vertical" fixed-pane-initial-dimension="300">
            <ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0);">
                <ui:Label tabindex="-1" text="Inspector" display-tooltip-when-elided="true" class="title" />
                <AI.BT.InspectorView />
            </ui:VisualElement>
            <ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0);">
                <ui:Label tabindex="-1" text="Blackboard" display-tooltip-when-elided="true" class="title" />
                <uie:PropertyField binding-path="m_Blackboard" />
            </ui:VisualElement>
        </AI.BT.SplitView>
        <ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0);">
            <ui:Label tabindex="-1" text="BehaviorTree" display-tooltip-when-elided="true" enable-rich-text="false" class="title" />
            <AI.BT.Graph focusable="true" name="Graph" />
        </ui:VisualElement>
    </AI.BT.SplitView>
</ui:UXML>