This commit is contained in:
CortexCore
2025-03-05 22:28:38 +08:00
parent 268c24de0d
commit e846296fca
56 changed files with 449323 additions and 573736 deletions

View File

@@ -33,10 +33,13 @@ Label {
}
.dialogue-container Label {
color: rgb(32, 32, 32);
-unity-font-style: normal;
}
.dialogue-container Label:disabled {
opacity: 0.5;
color: rgb(128, 128, 128);
}
Button {
@@ -50,7 +53,7 @@ Button {
border-left-width: 0;
font-size: 32px;
color: rgb(255, 255, 255);
-unity-font-style: bold-and-italic;
-unity-font-style: bold;
}
Button:hover {
@@ -100,20 +103,6 @@ Button.color-secondary {
#unity-dragger {
background-color: rgb(255, 255, 255);
width: 24px;
height: 24px;
border-top-left-radius: 69px;
border-top-right-radius: 69px;
border-bottom-right-radius: 69px;
border-bottom-left-radius: 69px;
border-top-width: 3px;
border-right-width: 3px;
border-bottom-width: 3px;
border-left-width: 3px;
border-left-color: rgb(241, 88, 60);
border-right-color: rgb(241, 88, 60);
border-top-color: rgb(241, 88, 60);
border-bottom-color: rgb(241, 88, 60);
}
#unity-tracker {
@@ -134,3 +123,22 @@ Button.color-secondary {
height: 100px;
background-image: url("project://database/Assets/Arts/Artsystack%20-Modern%20Multiplayer%20GUI/ResourcesData/Sprites/components/profile.png?fileID=21300000&guid=2ec33b5024a015d40961e6092a5f36a7&type=3#profile");
}
.cosmetics-button #VisualElement--0 {
-unity-background-image-tint-color: rgb(128, 128, 128);
}
.selected .cosmetics-button #VisualElement--0 {
-unity-background-image-tint-color: rgb(255, 255, 255);
}
.default-background {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
background-image: url("project://database/Assets/BITKit/Unity/Art/Backgrounds/BG_Gradient_Half_BT_.png?fileID=21300000&guid=d19ac049792985540825b54b0b002529&type=3#BG_Gradient_Half_BT_");
-unity-background-image-tint-color: rgb(0, 0, 0);
}

View File

@@ -0,0 +1,20 @@
<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="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/Artists/UX/Style.uss?fileID=7433441132597879392&amp;guid=506d41b7c5d56a44bb5845e69055a5eb&amp;type=3#Style" />
<ui:VisualElement name="Shadow" picking-mode="Ignore" class="default-background" />
<ui:VisualElement class="flex-center" style="flex-direction: row;">
<ui:VisualElement style="min-width: 512px;">
<ui:Label tabindex="-1" text="对话日志:" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:VisualElement style="flex-grow: 1;">
<ui:ScrollView>
<ui:Label tabindex="-1" text="等待对话中" parse-escape-sequences="true" display-tooltip-when-elided="true" name="log-label" class="tl" />
</ui:ScrollView>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement>
<ui:Button text="返回游戏" parse-escape-sequences="true" display-tooltip-when-elided="true" name="return-button" />
<ui:VisualElement style="flex-grow: 1;" />
<ui:Button text="返回主菜单" parse-escape-sequences="true" display-tooltip-when-elided="true" name="exit-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: b6e8eed42e93add45b8091a3ef64006f
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

View File

@@ -1,6 +1,7 @@
<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="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<ui:VisualElement picking-mode="Ignore" name="VisualElement--0" class="root" style="background-color: rgb(0, 255, 46);" />
<ui:VisualElement picking-mode="Ignore" name="VisualElement--1" class="root" style="background-color: rgb(255, 255, 255);" />
<ui:VisualElement style="background-image: url(&quot;project://database/Assets/BITKit/Unity/Art/Backgrounds/BG_Gradient_Half_BT_.png?fileID=21300000&amp;guid=d19ac049792985540825b54b0b002529&amp;type=3#BG_Gradient_Half_BT_&quot;); position: absolute; left: 0; right: 0; bottom: 0; height: 200px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; align-items: center; justify-content: center; -unity-background-image-tint-color: rgb(0, 0, 0);">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" style="font-size: 48px;" />
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" style="font-size: 32px;" />

View File

@@ -5,7 +5,7 @@
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/Artists/UX/Style.uss?fileID=7433441132597879392&amp;guid=506d41b7c5d56a44bb5845e69055a5eb&amp;type=3#Style" />
<ui:VisualElement class="container-my-8" style="position: absolute; left: 32px; top: 32px; overflow: hidden;">
<ui:VisualElement style="width: 256px; height: 256px; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; background-color: rgba(0, 0, 0, 0.78); border-left-color: rgba(255, 255, 255, 0.5); border-right-color: rgba(255, 255, 255, 0.5); border-top-color: rgba(255, 255, 255, 0.5); border-bottom-color: rgba(255, 255, 255, 0.5); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;">
<ui:VisualElement style="width: 256px; height: 256px; background-color: rgba(0, 0, 0, 0.78); border-left-color: rgba(255, 255, 255, 0.5); border-right-color: rgba(255, 255, 255, 0.5); border-top-color: rgba(255, 255, 255, 0.5); border-bottom-color: rgba(255, 255, 255, 0.5); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;">
<ui:VisualElement style="flex-grow: 1;">
<ui:VisualElement name="map-container" style="background-image: url(&quot;project://database/Assets/Artists/Materials/ux_minimap.renderTexture?fileID=8400000&amp;guid=9a9e60eda7295fc47907b25d62d9dd79&amp;type=2#ux_minimap&quot;); width: 100%; height: 100%;" />
<ui:VisualElement name="map-position" style="width: 32px; height: 32px; background-color: rgb(255, 255, 255); position: absolute; top: 97px; left: 64px; background-image: url(&quot;project://database/Assets/Artists/Arts/Avatars/avatar_player.jpg?fileID=2800000&amp;guid=dc1a7b7a5cc9437438280932e8b541a0&amp;type=3#avatar_player&quot;);" />
@@ -17,13 +17,14 @@
<ui:Instance template="ux_quest_template" name="ux_quest_template" style="padding-top: 16px; padding-right: 32px; padding-bottom: 6px; padding-left: 32px;" />
</ui:VisualElement>
<ui:Label tabindex="-1" text="互动/双方向性" parse-escape-sequences="true" display-tooltip-when-elided="true" name="interaction-tips" class="flex-center tl" style="padding-top: 8px; padding-right: 16px; padding-bottom: 8px; padding-left: 16px; position: absolute; left: 50%; top: 50%; color: rgb(255, 255, 255); border-left-width: 4px; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); text-shadow: 0 0 1px rgb(0, 0, 0);" />
<ui:VisualElement name="dialogue-choose-container" style="position: absolute; right: 590px; top: 423px;">
<ui:VisualElement class="root" style="-unity-background-scale-mode: scale-and-crop;" />
<ui:VisualElement name="dialogue-choose-container" style="position: absolute; top: 40%; right: 8%;">
<ui:Instance template="ux_dialogue_choose_template" name="ux_dialogue_choose_template" />
<ui:Instance template="ux_dialogue_choose_template" name="ux_dialogue_choose_template" />
<ui:Instance template="ux_dialogue_choose_template" name="ux_dialogue_choose_template" />
</ui:VisualElement>
<ui:VisualElement name="comic-container" class="root" style="background-color: rgba(0, 0, 0, 0.67); display: none;" />
<ui:ScrollView picking-mode="Ignore" name="dialogue-container" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" class="flex-center dialogue-container" style="min-width: 512px; bottom: -25%; max-height: 300px; padding-top: 16px; padding-right: 32px; padding-bottom: 16px; padding-left: 32px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; max-width: 768px; background-color: rgba(0, 0, 0, 0.5);">
<ui:ScrollView picking-mode="Ignore" name="dialogue-container" horizontal-scroller-visibility="Hidden" vertical-scroller-visibility="Hidden" class="flex-center dialogue-container" style="min-width: 512px; bottom: -25%; max-height: 300px; padding-top: 16px; padding-right: 32px; padding-bottom: 16px; padding-left: 32px; border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; max-width: 768px; background-color: rgb(239, 239, 239);">
<ui:Instance template="ux_dialogue_template" name="ux_dialogue_template" />
<ui:Instance template="ux_dialogue_template" name="ux_dialogue_template" />
</ui:ScrollView>

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,17 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/Artists/UX/Style.uss?fileID=7433441132597879392&amp;guid=506d41b7c5d56a44bb5845e69055a5eb&amp;type=3#Style" />
<ui:VisualElement style="position: absolute; right: 64px; bottom: 64px;">
<ui:VisualElement>
<ui:Button text="开始" parse-escape-sequences="true" display-tooltip-when-elided="true" name="play-button" />
</ui:VisualElement>
<ui:VisualElement name="money-container" class="money-container" style="flex-direction: row-reverse; width: 450px; justify-content: space-between;">
<ui:VisualElement style="width: 200px; height: 48px; background-image: url(&quot;project://database/Assets/Arts/Artsystack%20-Modern%20Multiplayer%20GUI/ResourcesData/Sprites/components/Rounded%20Rectangle%201.png?fileID=21300000&amp;guid=7766860c1224b1e42b0d77fa49d9e350&amp;type=3#Rounded Rectangle 1&quot;);">
<ui:VisualElement style="background-image: url(&quot;project://database/Assets/Arts/Artsystack%20-Modern%20Multiplayer%20GUI/ResourcesData/Sprites/colored_icon/red_diamond%20%20.png?fileID=21300000&amp;guid=f735a4a26cf44f24abcc065cfe6d2152&amp;type=3#red_diamond &quot;); width: 64px; height: 64px; position: absolute; left: -16px; top: -8px;" />
<ui:Label tabindex="-1" text="100" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; -unity-text-align: middle-center; -unity-font-style: bold;" />
</ui:VisualElement>
<ui:VisualElement style="width: 200px; height: 48px; background-image: url(&quot;project://database/Assets/Arts/Artsystack%20-Modern%20Multiplayer%20GUI/ResourcesData/Sprites/components/Rounded%20Rectangle%201.png?fileID=21300000&amp;guid=7766860c1224b1e42b0d77fa49d9e350&amp;type=3#Rounded Rectangle 1&quot;);">
<ui:VisualElement style="background-image: url(&quot;project://database/Assets/Arts/Artsystack%20-Modern%20Multiplayer%20GUI/ResourcesData/Sprites/colored_icon/coins%206.png?fileID=21300000&amp;guid=8910d0d654b7dfb408ad9032785106f2&amp;type=3#coins 6&quot;); width: 64px; height: 64px; position: absolute; left: -16px; top: -8px;" />
<ui:Label tabindex="-1" text="100" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; -unity-text-align: middle-center; -unity-font-style: bold;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

@@ -13,26 +13,20 @@ MonoBehaviour:
m_Name: ux_panel_settings
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65, type: 3}
m_DisableNoThemeWarning: 0
m_TargetTexture: {fileID: 0}
m_RenderMode: 0
m_WorldSpaceLayer: 0
m_ScaleMode: 2
m_ReferenceSpritePixelsPerUnit: 100
m_PixelsPerUnit: 100
m_Scale: 1
m_ReferenceDpi: 96
m_FallbackDpi: 96
m_ReferenceResolution: {x: 1920, y: 1080}
m_ReferenceResolution: {x: 1280, y: 720}
m_ScreenMatchMode: 0
m_Match: 0.421
m_SortingOrder: 0
m_TargetDisplay: 0
m_BindingLogLevel: 0
m_ClearDepthStencil: 1
m_ClearColor: 0
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
m_VertexBudget: 0
m_DynamicAtlasSettings:
m_MinAtlasSize: 8
m_MaxAtlasSize: 4096
@@ -41,6 +35,4 @@ MonoBehaviour:
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
m_ICUDataAsset: {fileID: 0}
forceGammaRendering: 0
textSettings: {fileID: 11400000, guid: ae6e49236707be64baaaa783d1a15d81, type: 2}