这是第一个 Unity 开放项目的repo,是 Unity 和社区合作创建的一个小型开源游戏演示,第一款游戏是一款名为 Chop Chop 的动作冒险游戏。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

52 行
4.4 KiB

<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="False">
<Style src="QuestEditorWindow.uss" />
<Style src="DialogueUSS.uss" />
<ui:VisualElement name="quest-editor-window" style="flex-direction: row; height: 100%; width: 100%; min-height: 500px;">
<ui:VisualElement name="1st-column" style="width: 30%; height: 100%;">
<ui:VisualElement name="questlines" class="padding5 ColorStyling1" style="width: auto; height: 25%;">
<ui:Label text="Questlines" display-tooltip-when-elided="true" name="title-questline" class="title" style="flex-direction: row-reverse;">
<ui:Button text="-" display-tooltip-when-elided="true" name="remove-QL-btn" class="AddButton" />
<ui:Button text="+" display-tooltip-when-elided="true" name="create-QL-btn" class="AddButton" />
</ui:Label>
<ui:VisualElement name="questlines-list" style="height: 100%;" />
</ui:VisualElement>
<ui:VisualElement name="steps" class="padding5 ColorStyling2" style="width: auto; height: 25%;">
<ui:Label text="Steps" display-tooltip-when-elided="true" name="title-step" class="title" style="flex-direction: row-reverse;">
<ui:Button text="-" display-tooltip-when-elided="true" name="remove-S-btn" class="AddButton" />
<ui:Button text="+" display-tooltip-when-elided="true" name="create-S-btn" class="AddButton" />
</ui:Label>
<ui:VisualElement name="steps-list" style="height: 100%;" />
</ui:VisualElement>
<ui:VisualElement name="step-info-panel" class="padding5 ColorStyling1" style="width: auto; height: 50%;">
<ui:Label text="Step Info" display-tooltip-when-elided="true" name="step-info" class="title" />
<ui:VisualElement name="step-info-scroll" style="height: 100%;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="2nd-column" style="width: 30%; height: 100%;">
<ui:VisualElement name="quests" class="padding5 ColorStyling2" style="width: auto; height: 25%;">
<ui:Label text="Quests" display-tooltip-when-elided="true" name="title-quest" class="title" style="flex-direction: row-reverse;">
<ui:Button text="-" display-tooltip-when-elided="true" name="remove-Q-btn" class="AddButton" />
<ui:Button text="+" display-tooltip-when-elided="true" name="create-Q-btn" class="AddButton" />
</ui:Label>
<ui:VisualElement name="quests-list" style="height: 100%;" />
</ui:VisualElement>
<ui:VisualElement name="dialogues" class="padding5 ColorStyling1" style="width: auto; height: 25%;">
<ui:Label text="Dialogues" display-tooltip-when-elided="true" name="title-dislogues" class="title" />
<ui:VisualElement name="dialogues-list" style="height: 100%;">
<ui:VisualElement name="buttons-panel" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="dialogue-info-panel" class="padding5 ColorStyling2" style="width: auto; height: 50%;">
<ui:Label text="Dialogue Info" display-tooltip-when-elided="true" name="dialogue-info" class="title" />
<ui:VisualElement name="dialogue-info-scroll" style="height: 100%;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="3rd-column" class="3rdColumn" style="height: 100%;">
<ui:Label text="Preview" display-tooltip-when-elided="true" name="preview-title" class="title" style="color: rgb(65, 65, 65); height: 18.5px;" />
<ui:Button text="Refresh" display-tooltip-when-elided="true" name="refresh-preview-btn" style="width: 100px; margin-left: auto; margin-right: 1px; background-color: rgb(113, 113, 113);" />
<ui:VisualElement name="questline-preview" />
<ui:VisualElement name="quest-preview" />
<ui:ScrollView name="actor-conversations" show-vertical-scroller="true" style="height: 100%;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>