您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
6.0 KiB
29 行
6.0 KiB
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
<ui:Template name="background" src="project://database/Assets/UI/MainMenu/background.uxml?fileID=9197481963319205126&guid=ee745de6c90100b468b8fa83a7cc0ea7&type=3#background" />
|
|
<Style src="project://database/Assets/UI/MainMenu/Styles.uss?fileID=7433441132597879392&guid=dfb32b1fdf2bfae48bbadfa74165273b&type=3#Styles" />
|
|
<Style src="project://database/Assets/UI/Custom/radial-progress/radial-progress.uss?fileID=7433441132597879392&guid=e8303b202c1f8b449928c170556b69f8&type=3#radial-progress" />
|
|
<ui:VisualElement name="visual-menu" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); position: absolute; width: 100%; height: 100%; align-items: center; transition-property: opacity; transition-duration: 1s; transition-timing-function: ease; transition-delay: 0s; opacity: 1; color: rgb(0, 0, 0); -unity-background-image-tint-color: rgb(0, 0, 0); display: flex;">
|
|
<ui:Instance template="background" name="background" picking-mode="Ignore" class="background" style="flex-grow: 1; -unity-background-scale-mode: scale-and-crop; width: 101%; height: 101%;" />
|
|
<ui:VisualElement name="gradient" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); position: absolute; background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=-6167541733945284890&guid=31e77ef23200a8842b3829370f52c886&type=3#RadialGradient'); height: 100%; width: 1466px; opacity: 0.5;" />
|
|
<ui:VisualElement name="unity-logo" picking-mode="Ignore" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=2189907575338286644&guid=31e77ef23200a8842b3829370f52c886&type=3#MadeWithUnity'); width: 180px; height: 50px; position: absolute; bottom: 24px; -unity-background-scale-mode: scale-to-fit;" />
|
|
<ui:GroupBox name="main-group-box" style="position: absolute; bottom: 200px; width: 400px;">
|
|
<ui:VisualElement name="logo" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=4956762818165564686&guid=31e77ef23200a8842b3829370f52c886&type=3#logo'); width: 800px; align-self: center; height: 250px; -unity-background-scale-mode: scale-to-fit;" />
|
|
<ui:Label tabindex="-1" display-tooltip-when-elided="true" name="connection-label" style="-unity-text-align: upper-center; -unity-font: url('project://database/Assets/UI/Fonts/ChakraPetch-Medium.ttf?fileID=12800000&guid=25f588e56b0a32d4ca3779fef2ecb271&type=3#ChakraPetch-Medium'); -unity-font-definition: url('project://database/Assets/UI/Fonts/ChakraPetch-Medium%20SDF.asset?fileID=11400000&guid=f3103ff426df8704595bd7db20530273&type=2#ChakraPetch-Medium SDF'); font-size: 25px; display: none; padding-top: 20px; padding-bottom: 20px;" />
|
|
<ui:VisualElement name="matchmaking-loading-bar" style="background-color: rgba(0, 0, 0, 0); width: 100px; height: 100px; align-items: center; align-self: center; justify-content: space-between; display: none;">
|
|
<MyUILibrary.RadialProgress progress="100" name="matchmaking-loading-bar-0" class="radial-progress-no-text" style="position: absolute; width: 100px; height: 100px;" />
|
|
<MyUILibrary.RadialProgress progress="0" name="matchmaking-loading-bar-1" class="radial-progress-no-text" style="position: absolute; width: 70px; height: 70px; top: 15px;" />
|
|
</ui:VisualElement>
|
|
<ui:Button tabindex="0" text="Play" display-tooltip-when-elided="true" name="lobby-controller-button" focusable="true" class="button" style="visibility: visible; display: flex; opacity: 1;" />
|
|
<ui:Button tabindex="-1" text="Connect by IP" display-tooltip-when-elided="true" name="ip-controller-button" focusable="true" class="button" style="visibility: visible; display: flex; opacity: 1;" />
|
|
<ui:Button tabindex="-1" text="Settings" display-tooltip-when-elided="true" name="settings-button" class="button" />
|
|
<ui:Button tabindex="-1" text="Quit" display-tooltip-when-elided="true" name="quit-button" class="button" />
|
|
</ui:GroupBox>
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="loading-screen" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); display: none; position: absolute; width: 100%; height: 100%; align-items: center; transition-property: opacity; transition-duration: 1s; transition-timing-function: ease; transition-delay: 0s;">
|
|
<ui:Instance template="background" name="background" picking-mode="Ignore" class="background" style="flex-grow: 1; display: flex; -unity-background-scale-mode: scale-and-crop;" />
|
|
<ui:VisualElement name="logo" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=4956762818165564686&guid=31e77ef23200a8842b3829370f52c886&type=3#logo'); width: 800px; align-self: center; height: 250px; -unity-background-scale-mode: scale-to-fit; position: absolute; top: 270px;" />
|
|
<ui:VisualElement picking-mode="Ignore" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/Art/Textures/UI/AtlasUI.psd?fileID=2189907575338286644&guid=31e77ef23200a8842b3829370f52c886&type=3#MadeWithUnity'); width: 180px; height: 50px; position: absolute; bottom: 20px; -unity-background-scale-mode: scale-to-fit;" />
|
|
<ui:ProgressBar name="progressbar" high-value="1" low-value="0" picking-mode="Ignore" class="progress-bar" style="position: absolute; bottom: 100px; font-size: 12px; width: 500px; height: 40px;" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="overlay" picking-mode="Ignore" style="flex-grow: 1; background-color: rgb(0, 0, 0); opacity: 0; position: absolute; width: 100%; height: 100%;" />
|
|
</ui:UXML>
|