您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
155 行
22 KiB
155 行
22 KiB
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
<ui:Template name="flicker-decoration-flipped" src="project://database/Assets/UI/MainMenu/flicker-decoration-flipped.uxml?fileID=9197481963319205126&guid=d39991b8a9651b143bc0a93d764a32e4&type=3#flicker-decoration-flipped" />
|
|
<ui:Template name="flicker-decoration" src="project://database/Assets/UI/MainMenu/flicker-decoration.uxml?fileID=9197481963319205126&guid=ec90f2ce8811dc445bcb19bcc8127408&type=3#flicker-decoration" />
|
|
<ui:Template name="Label" src="project://database/Assets/UI/MainMenu/Label.uxml?fileID=9197481963319205126&guid=b4b6ae4a6cc771a40a3489be45714d35&type=3#Label" />
|
|
<Style src="project://database/Assets/UI/MainMenu/Styles.uss?fileID=7433441132597879392&guid=dfb32b1fdf2bfae48bbadfa74165273b&type=3#Styles" />
|
|
<ui:VisualElement name="settings-options-panel" style="background-color: rgba(0, 0, 0, 0.5); position: absolute; width: 100%; height: 100%; align-items: center; justify-content: center; display: none;">
|
|
<ui:GroupBox style="background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=-2421726660965398363&guid=31e77ef23200a8842b3829370f52c886&type=3#box-background'); padding-left: 50px; padding-right: 50px; padding-top: 50px; padding-bottom: 50px; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; -unity-background-scale-mode: stretch-to-fill; background-color: rgba(0, 0, 0, 0.8);">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); position: absolute; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=8139706954326780059&guid=31e77ef23200a8842b3829370f52c886&type=3#decoration-4'); width: 8px; height: 70px; -unity-background-scale-mode: scale-to-fit; left: 0; bottom: 10px;" />
|
|
<ui:Button text="Resume" display-tooltip-when-elided="true" name="back-to-game-btn" class="button large" />
|
|
<ui:Button text="Settings" display-tooltip-when-elided="true" name="settings-btn" class="button large" />
|
|
<ui:Button text="Tutorial" display-tooltip-when-elided="true" name="tutorial-btn" class="button large" />
|
|
<ui:Button text="Back to Menu" display-tooltip-when-elided="true" name="back-to-menu-btn" class="button large" />
|
|
<ui:Button text="Quit" display-tooltip-when-elided="true" name="quit-button" class="button large" />
|
|
</ui:GroupBox>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="game-settings" style="background-color: rgba(0, 0, 0, 0); display: none; width: 100%; height: 100%;">
|
|
<ui:VisualElement name="settings-background" class="background settings" style="display: flex; flex-grow: 1; overflow: visible; -unity-background-scale-mode: scale-and-crop; opacity: 1;">
|
|
<ui:VisualElement name="flicker-elements" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); position: absolute; display: flex;">
|
|
<ui:Instance template="flicker-decoration-flipped" name="flicker-decoration-flipped" style="position: absolute; top: 573px; left: 404px;" />
|
|
<ui:Instance template="flicker-decoration-flipped" name="flicker-decoration-flipped" style="position: absolute; top: 1034px; left: 675px;" />
|
|
<ui:Instance template="flicker-decoration-flipped" name="flicker-decoration-flipped" style="position: absolute; top: 964px; left: 1451px;" />
|
|
<ui:Instance template="flicker-decoration" name="flicker-decoration" style="position: absolute; top: 899px; left: 65px;" />
|
|
<ui:Instance template="flicker-decoration" name="flicker-decoration" style="position: absolute; top: 385px; left: 509px;" />
|
|
<ui:Instance template="flicker-decoration" name="flicker-decoration" style="position: absolute; top: 603px; left: 1608px;" />
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
<ui:GroupBox name="content" style="position: absolute; left: 1px; top: 0; right: 1%; bottom: 0; flex-direction: row; align-items: center; margin-top: 0; padding-top: 0; padding-bottom: 0; padding-left: 0; margin-left: 0; margin-bottom: 0;">
|
|
<ui:VisualElement name="menu" style="background-color: rgba(0, 0, 0, 0); align-self: flex-start; justify-content: center; border-right-color: rgb(255, 255, 255); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; border-left-color: rgba(255, 255, 255, 0); border-top-color: rgba(255, 255, 255, 0); border-bottom-color: rgba(255, 255, 255, 0); width: 25%; height: 100%;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); position: absolute; right: 0; top: 0; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=8139706954326780059&guid=31e77ef23200a8842b3829370f52c886&type=3#decoration-4'); height: 186px; width: 16px;" />
|
|
<ui:Button tabindex="-1" text="Graphics" display-tooltip-when-elided="true" name="graphics-button" class="button" style="font-size: 30px; -unity-font-style: normal; -unity-text-align: middle-center;" />
|
|
<ui:Button tabindex="-1" text="Audio" display-tooltip-when-elided="true" name="audio-button" class="button" style="font-size: 30px; -unity-font-style: normal; -unity-text-align: middle-center; display: flex;" />
|
|
<ui:Button tabindex="-1" text="Controls" display-tooltip-when-elided="true" name="controls-button" class="button" style="font-size: 30px; -unity-font-style: normal; -unity-text-align: middle-center;" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="separator" style="background-color: rgba(0, 0, 0, 0); width: 10px; align-items: flex-end; margin-right: 5px; align-self: center;">
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 100px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 10px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 10px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 10px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 5px; border-right-color: rgb(6, 175, 255); border-right-width: 1px; height: 90px; margin-bottom: 10px;" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="content" style="background-color: rgba(0, 0, 0, 0); margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; height: 100%; display: flex; width: 100%;">
|
|
<ui:VisualElement name="bottom-decoration" style="background-color: rgba(0, 0, 0, 0); position: absolute; bottom: -105px; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=2453546257253439419&guid=31e77ef23200a8842b3829370f52c886&type=3#decoration-5'); height: 221px; width: 34px; margin-left: 4px;" />
|
|
<ui:VisualElement name="top-decoration" style="background-color: rgba(0, 0, 0, 0); height: 90px; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); border-left-color: rgb(6, 175, 255); border-right-color: rgb(6, 175, 255); border-top-color: rgb(6, 175, 255); border-bottom-color: rgb(6, 175, 255); border-left-width: 0; border-right-width: 0; border-top-width: 1px; border-bottom-width: 0; height: 10px; margin-top: 20px; flex-direction: row; justify-content: space-around; margin-bottom: 10px; width: 88%;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); border-left-color: rgb(6, 175, 255); border-right-color: rgb(6, 175, 255); border-top-color: rgb(6, 175, 255); border-bottom-color: rgb(6, 175, 255); border-left-width: 0; border-right-width: 0; border-top-width: 4px; border-bottom-width: 0; height: 10px; width: 150px;" />
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); border-left-color: rgb(6, 175, 255); border-right-color: rgb(6, 175, 255); border-top-color: rgb(6, 175, 255); border-bottom-color: rgb(6, 175, 255); border-left-width: 0; border-right-width: 0; border-top-width: 4px; border-bottom-width: 0; height: 10px; width: 150px;" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); border-left-color: rgb(6, 175, 255); border-right-color: rgb(6, 175, 255); border-top-color: rgb(6, 175, 255); border-bottom-color: rgb(6, 175, 255); border-left-width: 1px; border-right-width: 0; border-top-width: 1px; border-bottom-width: 0; width: 88%;" />
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); position: absolute; width: 208px; height: 49px; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=862885537675583016&guid=31e77ef23200a8842b3829370f52c886&type=3#decoration-6'); right: -22px; top: 6px;" />
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); position: absolute; width: 34px; height: 34px; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=8224996833260374627&guid=31e77ef23200a8842b3829370f52c886&type=3#decoration-7'); top: 50px; left: 10px;" />
|
|
</ui:VisualElement>
|
|
<ui:GroupBox name="audio" style="flex-grow: 1; border-left-color: rgb(6, 175, 255); border-right-color: rgba(6, 175, 255, 0); border-top-color: rgba(6, 175, 255, 0); border-bottom-color: rgba(6, 175, 255, 0); border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; padding-left: 3px; margin-left: 4px; display: none;">
|
|
<ui:GroupBox style="width: 100%; flex-direction: row; align-items: flex-start; align-self: auto; flex-shrink: 1; flex-grow: 1; display: flex; min-height: 100%; max-height: 100%; height: 100%; border-left-color: rgba(160, 160, 160, 0); border-right-color: rgba(160, 160, 160, 0); border-top-color: rgba(160, 160, 160, 0); border-bottom-color: rgba(160, 160, 160, 0); border-left-width: 1px; margin-left: 0; padding-left: 0;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); width: 30%; height: 100%; justify-content: center;">
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Volume" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label" style="display: flex;">
|
|
<AttributeOverrides element-name="Label" text="Visual FX" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label" style="display: flex;">
|
|
<AttributeOverrides element-name="Label" text="Music" />
|
|
</ui:Instance>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="sliders" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); height: 100%; justify-content: center;">
|
|
<ui:Slider picking-mode="Ignore" label="Volume" value="1" high-value="1" name="volume" low-value="0.001" class="slider" />
|
|
<ui:Slider picking-mode="Ignore" label="SoundFX" value="1" high-value="1" name="sound-fx" low-value="0.001" class="slider" />
|
|
<ui:Slider picking-mode="Ignore" label="Music" value="1" high-value="1" name="music" low-value="0.001" class="slider" />
|
|
</ui:VisualElement>
|
|
</ui:GroupBox>
|
|
</ui:GroupBox>
|
|
<ui:GroupBox name="graphics" style="min-width: auto; min-height: auto; align-items: flex-start; justify-content: flex-start; align-self: flex-start; display: none; visibility: visible; border-left-color: rgb(6, 175, 255); border-right-color: rgb(160, 160, 160); border-top-color: rgb(160, 160, 160); border-bottom-color: rgb(160, 160, 160); border-left-width: 1px; width: 100%;">
|
|
<ui:GroupBox style="width: 100%; flex-direction: row; align-items: flex-start; align-self: center; flex-shrink: 1; flex-grow: 0; display: flex; justify-content: flex-start; flex-wrap: wrap; min-height: auto; min-width: auto; padding-left: 0; margin-left: 0;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); width: 30%;">
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Quality Settings" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Screen Mode" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Screen resolution" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Texture Details" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Shadow Quality" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Level of Detail" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Postprocessing" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Volumetric Fog" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Reflections" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Vertical Sync " />
|
|
</ui:Instance>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="advance" class="large" style="background-color: rgba(0, 0, 0, 0);">
|
|
<ui:DropdownField label="Quality Settings" index="0" choices="Low,Medium,High,Custom" name="quality-settings" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; display: flex;" />
|
|
<ui:DropdownField label="Screen Mode" index="0" choices="Fullscreen,Windowed" name="screen-mode" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" />
|
|
<ui:DropdownField label="Screen Resolution" index="0" name="screen-resolution" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" />
|
|
<ui:DropdownField label="Texture Details" index="2" choices="Low, Medium, High" name="texture-details" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" />
|
|
<ui:DropdownField label="Shadow Quality" index="2" choices="Low, Medium, High" name="shadow-quality" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" />
|
|
<ui:DropdownField label="Level of Detail" index="2" choices="Low, Medium, High" name="level-of-detail" class="dropdown popup-selection" style="padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;" />
|
|
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: center; align-self: flex-start;">
|
|
<ui:Toggle label="Postprocessing" name="postprocessing" class="checkbox" style="-unity-background-scale-mode: scale-and-crop;" />
|
|
<ui:Toggle label="Volumetric Fog" name="volumetric-fog" class="checkbox" />
|
|
<ui:Toggle label="Reflections" name="reflections" class="checkbox" style="display: flex;" />
|
|
<ui:Toggle label="Vsync" name="vertical-sync" class="checkbox" />
|
|
</ui:GroupBox>
|
|
</ui:VisualElement>
|
|
</ui:GroupBox>
|
|
</ui:GroupBox>
|
|
<ui:VisualElement name="controls" style="background-color: rgba(0, 0, 0, 0); display: none; border-left-color: rgb(6, 175, 255); border-right-color: rgb(6, 175, 255); border-top-color: rgb(6, 175, 255); border-bottom-color: rgb(6, 175, 255); align-items: stretch; align-self: auto; justify-content: flex-end; flex-grow: 1; border-left-width: 1px; margin-left: 4px; margin-right: 4px; margin-top: 6px; margin-bottom: 2px; padding-left: 3px; padding-top: 5px; padding-bottom: 5px;">
|
|
<ui:GroupBox name="GroupBox" style="width: 100%; flex-direction: row; align-items: flex-start; align-self: auto; flex-shrink: 1; flex-grow: 1; display: flex; min-height: 100%; max-height: 100%; height: 100%; border-left-color: rgba(160, 160, 160, 0); border-right-color: rgba(160, 160, 160, 0); border-top-color: rgba(160, 160, 160, 0); border-bottom-color: rgba(160, 160, 160, 0); border-left-width: 1px; margin-left: 0; padding-left: 0;">
|
|
<ui:VisualElement style="background-color: rgba(0, 0, 0, 0); width: 30%; height: 100%; justify-content: center;">
|
|
<ui:Instance template="Label">
|
|
<AttributeOverrides element-name="Label" text="Mouse Sensitivity" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label" style="display: flex;">
|
|
<AttributeOverrides element-name="Label" text="Invert Mouse Horizontal" />
|
|
</ui:Instance>
|
|
<ui:Instance template="Label" style="display: flex;">
|
|
<AttributeOverrides element-name="Label" text="Invert Mouse Vertical" />
|
|
</ui:Instance>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="controls-sliders" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); height: 100%; justify-content: center;">
|
|
<ui:Slider picking-mode="Ignore" label="Mouse Sensitivity" value="1" high-value="2" name="mouse-sensitivity" low-value="0.5" class="slider" />
|
|
<ui:Toggle label="Invert Look (Horizontal)" name="invert-look-horizontal" class="checkbox" style="-unity-background-scale-mode: scale-and-crop;" />
|
|
<ui:Toggle label="Invert Look (Vertical)" name="invert-look-vertical" class="checkbox" style="-unity-background-scale-mode: scale-and-crop;" />
|
|
</ui:VisualElement>
|
|
</ui:GroupBox>
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:GroupBox>
|
|
<ui:GroupBox name="button-group" style="position: absolute; bottom: 0; right: 0; flex-direction: row;">
|
|
<ui:Button tabindex="-1" text="Close" display-tooltip-when-elided="true" name="close-button" class="button" style="font-size: 30px; -unity-font-style: normal; -unity-text-align: middle-center; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; width: 250px;" />
|
|
<ui:Button tabindex="-1" text="Apply" display-tooltip-when-elided="true" name="apply-button" class="button" style="font-size: 30px; -unity-font-style: normal; -unity-text-align: middle-center; margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; width: 250px;" />
|
|
</ui:GroupBox>
|
|
</ui:VisualElement>
|
|
</ui:UXML>
|