This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -1,10 +1,9 @@
Label {
-unity-font-definition: url('project://database/Assets/BITKit/Unity/Art/Fonts/SDF/SourceHanMono-Regular%20SDF.asset?fileID=11400000&guid=b3753d022dd4b4545b0e5f3f6e9a997f&type=2#SourceHanMono-Regular SDF');
.alert-container Label {
color: rgba(255, 255, 255, 0.78);
-unity-font: initial;
}
Button {
.alert-container Button {
background-color: rgba(0, 0, 0, 0);
color: rgba(255, 255, 255, 0.5);
border-left-color: rgba(255, 255, 255, 0.5);
@@ -15,17 +14,17 @@ Button {
border-bottom-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
max-width: 128px;
-unity-font-definition: url('project://database/Assets/BITKit/Unity/Art/Fonts/SDF/SourceHanMono-Regular%20SDF.asset?fileID=11400000&guid=b3753d022dd4b4545b0e5f3f6e9a997f&type=2#SourceHanMono-Regular SDF');
-unity-font-definition: url('project://database/Assets/BITKit/Unity/Art/Fonts/SDF/SourceHanMono-Regular%20SDF.asset?fileID=11400000&guid=b3753d022dd4b4545b0e5f3f6e9a997f&type=2#Assets/BITKit/Unity/Art/Fonts/SDF/SourceHanMono-Regular SDF.asset');
min-width: 128px;
}
Button:hover {
.alert-container Button:hover {
color: rgb(0, 0, 0);
background-color: rgba(255, 255, 255, 0.78);
transition-duration: 0.1s;
}
Button:active {
.alert-container Button:active {
background-color: rgb(120, 120, 120);
color: rgb(0, 0, 0);
border-left-width: 1px;

View File

@@ -1,9 +1,15 @@
<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/UX/BITAlert.uss?fileID=7433441132597879392&amp;guid=8d0db0fee932f5342988f09217d6309a&amp;type=3#BITAlert" />
<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/BITKit/Unity/UX/BITAlert.uss?fileID=7433441132597879392&amp;guid=8d0db0fee932f5342988f09217d6309a&amp;type=3#BITAlert" />
<ui:VisualElement name="Background" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.91);" />
<ui:VisualElement name="Center" style="margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; -unity-text-align: upper-center;">
<ui:Label text="Label" display-tooltip-when-elided="true" name="title-label" style="-unity-font-style: bold; font-size: 24px;" />
<ui:Label text="Label" display-tooltip-when-elided="true" name="context-label" style="font-size: 20px;" />
<ui:Button text="确认" display-tooltip-when-elided="true" name="main-button" style="margin-left: auto; margin-right: auto; width: 128px; max-width: 256px;" />
<ui:VisualElement name="Center" class="alert-container" style="margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; -unity-text-align: upper-center;">
<ui:Label text="Title" display-tooltip-when-elided="true" name="title-label" style="-unity-font-style: bold; font-size: 24px;" />
<ui:ScrollView style="max-height: 512px;">
<ui:Label text="This is long context&#10;this is next line" display-tooltip-when-elided="true" name="context-label" style="font-size: 20px;" />
</ui:ScrollView>
<ui:VisualElement style="flex-direction: row; justify-content: center;">
<ui:Button text="取消" display-tooltip-when-elided="true" name="sec-button" class="ma-8" style="width: 128px; max-width: 256px;" />
<ui:Button text="确认" display-tooltip-when-elided="true" name="main-button" class="ma-8" style="width: 128px; max-width: 256px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

@@ -45,13 +45,30 @@ ListView {
border-bottom-width: 0;
}
ListView Label {
padding-left: 8px;
padding-right: 8px;
padding-top: 4px;
padding-bottom: 4px;
#commands-container Button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
background-color: rgb(113, 113, 113);
color: rgb(255, 255, 255);
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
-unity-text-align: upper-left;
}
ListView Label:hover {
#commands-container Button:hover {
color: rgb(32, 32, 32);
background-color: rgb(255, 255, 255);
}
#commands-container Button.selected {
color: rgb(32, 32, 32);
background-color: rgb(255, 255, 255);
}
#TextField TextElement {
color: rgb(255, 255, 255);
}

View File

@@ -1,14 +1,18 @@
<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/BITConsole.uss?fileID=7433441132597879392&amp;guid=9175bfb75cd47b9488b9f12bd34e50fd&amp;type=3#BITConsole" />
<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/BITKit/Unity/UX/BITConsole.uss?fileID=7433441132597879392&amp;guid=9175bfb75cd47b9488b9f12bd34e50fd&amp;type=3#BITConsole" />
<ui:VisualElement name="Root" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;">
<ui:VisualElement name="Console" class="Console" style="width: 1024px; height: 768px; border-top-left-radius: 16px; border-bottom-left-radius: 16px; border-top-right-radius: 16px; border-bottom-right-radius: 16px; padding-left: 16px; padding-right: 16px; padding-top: 8px; padding-bottom: 8px; margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto;">
<ui:Label text="Console" display-tooltip-when-elided="true" class="Console-Text" />
<ui:ScrollView name="context-scrollview" class="Console-ScrollView" style="height: auto; flex-grow: 1; display: flex;">
<ui:Label text="This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text" display-tooltip-when-elided="true" name="Text" class="Console-Text" style="padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; white-space: normal;" />
<ui:Label text="This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;This is Console&#10;This is &lt;size=24&gt;Rich Text&lt;/size&gt;&#10;This is &lt;color=yellow&gt;Warning&lt;/color&gt;&#10;This is &lt;color=red&gt;Error&lt;/color&gt;&#10;This is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong text&#10;&lt;color=#add8e6ff&gt;&lt;b&gt;TypeName&lt;/b&gt;&lt;/color&gt;:MyMessage" display-tooltip-when-elided="true" name="Text" enable-rich-text="true" parse-escape-sequences="false" class="Console-Text" style="padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; white-space: normal;" />
</ui:ScrollView>
<ui:TextField picking-mode="Ignore" value="filler text" text="filler text" name="TextField" class="Console-TextField" style="height: 48px;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:ListView focusable="true" name="commands-listview" />
<ui:VisualElement name="commands-container" picking-mode="Ignore" style="position: absolute; top: 830px; left: 120px; align-items: stretch; min-width: 512px;">
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
</ui:VisualElement>
</ui:UXML>

View File

@@ -1,18 +1,9 @@
.quest-title {
font-size: 32px;
-unity-font-definition: url('project://database/Assets/BITKit/Art/Fonts/NotoSansSC-Bold%20SDF.asset?fileID=11400000&guid=033cc1a4c6c35c6488ad74f4cee476ac&type=2#NotoSansSC-Bold SDF');
-unity-text-align: middle-left;
}
.quest-icon {
background-image: none;
width: 32px;
height: 32px;
}
.quest-description {
}
.complete {
}

View File

@@ -1,9 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/BITKit/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/BITKit/UX/BITQuest.uss?fileID=7433441132597879392&amp;guid=5c2d746d52de8e340b788034994ee23e&amp;type=3#BITQuest" />
<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/BITKit/Unity/UX/BITQuest.uss?fileID=7433441132597879392&amp;guid=5c2d746d52de8e340b788034994ee23e&amp;type=3#BITQuest" />
<ui:VisualElement name="quest-element" class="quest">
<ui:VisualElement name="Header" class="flex-horizontal">
<ui:VisualElement name="icon-image" class="quest-icon" />
<ui:VisualElement name="icon-image" class="quest-icon" style="background-image: url(&apos;project://database/Assets/BITKit/Unity/Art/Icons/EditorIcons/processed/Search%20On%20Icon.png?fileID=2800000&amp;guid=1e01fd1ed21326449bf4608d3a8e3c34&amp;type=3#Search On Icon&apos;);" />
<ui:Label text="NewQuest" display-tooltip-when-elided="true" name="title-label" class="quest-title" />
</ui:VisualElement>
<ui:Label text="Fnish This Quest" display-tooltip-when-elided="true" name="description-label" class="quest-description" />

View File

@@ -54,7 +54,7 @@ TabBar Button:disabled {
padding-top: 32px;
padding-bottom: 32px;
-unity-font-definition: initial;
-unity-font: url('project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Regular.ttc?fileID=12800000&guid=170bacfb8afc52a468d956884ff0be08&type=3#SourceHanMono-Regular');
-unity-font: url("project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Regular.ttc?fileID=12800000&guid=170bacfb8afc52a468d956884ff0be08&type=3#SourceHanMono-Regular");
}
.pa-64 {
@@ -64,6 +64,27 @@ TabBar Button:disabled {
padding-bottom: 64px;
}
.ma-8 {
margin-top: 8px;
margin-right: 8px;
margin-bottom: 8px;
margin-left: 8px;
}
.ma-16 {
margin-top: 16px;
margin-right: 16px;
margin-bottom: 16px;
margin-left: 16px;
}
.ma-32 {
margin-top: 32px;
margin-right: 32px;
margin-bottom: 32px;
margin-left: 32px;
}
.r-8 {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
@@ -82,7 +103,7 @@ TabBar Button:disabled {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
-unity-font-definition: initial;
-unity-font: url('project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Regular.ttc?fileID=12800000&guid=170bacfb8afc52a468d956884ff0be08&type=3#SourceHanMono-Regular');
-unity-font: url("project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Regular.ttc?fileID=12800000&guid=170bacfb8afc52a468d956884ff0be08&type=3#SourceHanMono-Regular");
padding-left: 6px;
padding-right: 6px;
padding-top: 6px;
@@ -113,18 +134,21 @@ TabBar Button:disabled {
}
.unity-text-element {
color: rgb(234, 234, 234);
-unity-font-definition: url('project://database/Assets/BITKit/Unity/Art/Fonts/SDF/SourceHanMono-Regular%20SDF.asset?fileID=11400000&guid=b3753d022dd4b4545b0e5f3f6e9a997f&type=2#SourceHanMono-Regular SDF');
-unity-font-definition: url("project://database/Assets/BITKit/Unity/Art/Fonts/SDF/Roboto-Regular%20SDF.asset?fileID=11400000&guid=5b449e7b33d231a4085b869a8ae2c94c&type=2#Roboto-Regular SDF");
}
#unity-text-input .unity-text-element {
color: rgb(32, 32, 32);
}
.theme-light .unity-text-element {
color: rgb(31, 31, 31);
-unity-font: url('project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Medium.ttc?fileID=12800000&guid=c8058440fb1ea26488e022a5ee5b3b35&type=3#SourceHanMono-Medium');
-unity-font: url("project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Medium.ttc?fileID=12800000&guid=c8058440fb1ea26488e022a5ee5b3b35&type=3#SourceHanMono-Medium");
}
.theme-dark .unity-text-element {
color: rgb(231, 231, 231);
-unity-font: url('project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Medium.ttc?fileID=12800000&guid=c8058440fb1ea26488e022a5ee5b3b35&type=3#SourceHanMono-Medium');
-unity-font: url("project://database/Assets/BITKit/Unity/Art/Fonts/TTF/SourceHanMono/SourceHanMono-Medium.ttc?fileID=12800000&guid=c8058440fb1ea26488e022a5ee5b3b35&type=3#SourceHanMono-Medium");
}
.theme-dark DropdownField > VisualElement > VisualElement {
@@ -218,3 +242,75 @@ PopupTextElement.unity-text-element {
Slider #unity-text-input > .unity-text-element {
color: rgb(0, 0, 0);
}
TextField TextElement.unity-text-element {
color: rgb(0, 0, 0);
}
Foldout.--button {
min-width: 128px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
Foldout.--button Toggle {
background-color: rgba(0, 0, 0, 0.78);
border-left-color: rgb(149, 149, 149);
border-right-color: rgb(149, 149, 149);
border-top-color: rgb(149, 149, 149);
border-bottom-color: rgb(149, 149, 149);
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
}
Foldout.--button #unity-content {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
TemplateContainer:disabled {
opacity: 1;
}
.unity-foldout__toggle > .unity-toggle__input:focus:enabled > .unity-label {
color: rgb(255, 255, 255);
}
TextField.error > #unity-text-input {
background-color: rgba(255, 0, 0, 0.25);
}
Button.icon-remove {
min-width: 28px;
min-height: 28px;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
background-color: rgba(255, 255, 255, 0);
background-image: url("project://database/Assets/BITKit/Unity/Art/Icons/EditorIcons/d_winbtn_win_close@2x.png?fileID=2800000&guid=023d2ba213e1abb4dab3af11c79357c9&type=3#d_winbtn_win_close@2x");
-unity-background-image-tint-color: rgb(255, 255, 255);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
-unity-background-scale-mode: scale-to-fit;
}
Label {
color: rgb(247, 247, 247);
}
.armorPlate-container:hover {
background-color: rgba(255, 255, 255, 0.78);
}

View File

@@ -12,7 +12,8 @@ MonoBehaviour:
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
m_Name: Common_Mobile
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65, type: 3}
themeUss: {fileID: -4733365628477956816, guid: ac803f0924e239645ac6b2fc9baebc65,
type: 3}
m_TargetTexture: {fileID: 0}
m_ScaleMode: 2
m_ReferenceSpritePixelsPerUnit: 100

View File

@@ -0,0 +1,16 @@
<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/BITKit/Unity/UX/UXModService.uss?fileID=7433441132597879392&amp;guid=4603eeaf39bae3448a93680711a15c42&amp;type=3#UXModService" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="main-button" class="mod-element" style="flex-direction: row; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; height: 48px;">
<ui:Toggle name="context-toggle" style="margin-right: 8px; margin-left: 8px;" />
<ui:VisualElement picking-mode="Ignore" style="flex-direction: row; flex-grow: 1;">
<ui:VisualElement picking-mode="Ignore" style="width: 48px; height: 48px;">
<ui:VisualElement name="icon-image" picking-mode="Ignore" style="flex-grow: 1; background-image: url(&apos;project://database/Assets/BITKit/Unity/Art/Icons/EditorIcons/processed/unityengine/d_GameObject%20Icon.png?fileID=2800000&amp;guid=e45835505036acc4a92dbbf8fb2d4848&amp;type=3#d_GameObject Icon&apos;); margin-top: 8px; margin-right: 8px; margin-bottom: 8px; margin-left: 8px;" />
</ui:VisualElement>
<ui:VisualElement picking-mode="Ignore" style="flex-grow: 1; flex-direction: row; align-items: stretch; margin-left: 8px;">
<ui:Label tabindex="-1" text="Mod名称" parse-escape-sequences="true" display-tooltip-when-elided="true" name="title-label" picking-mode="Ignore" style="margin-top: 0; margin-bottom: 0; -unity-text-align: middle-left;" />
<ui:Label tabindex="-1" text="描述" parse-escape-sequences="true" display-tooltip-when-elided="true" name="description-label" picking-mode="Ignore" style="margin-top: 0; margin-bottom: 0; -unity-text-align: lower-left; display: none;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:Button>
</ui:UXML>

View File

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

View File

@@ -0,0 +1,21 @@
ProgressBar {
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
#unity-progress-bar {
}
#unity-progress-bar > VisualElement {
background-color: rgba(255, 255, 255, 0.13);
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9c77c6f7bebff2b4ebf4079d48de27c7
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0

View File

@@ -0,0 +1,9 @@
<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/UXInitialize.uss?fileID=7433441132597879392&amp;guid=9c77c6f7bebff2b4ebf4079d48de27c7&amp;type=3#UXInitialize" />
<ui:VisualElement style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: rgb(8, 8, 8);">
<ui:VisualElement style="margin-top: auto; margin-right: auto; margin-bottom: auto; margin-left: auto; width: 512px;">
<ui:ProgressBar value="81.7" name="progress-bar" />
<ui:Label tabindex="-1" text="加载中..." parse-escape-sequences="true" display-tooltip-when-elided="true" name="progress-label" style="-unity-text-align: upper-right; -unity-font-style: bold; color: rgb(247, 247, 247);" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

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

View File

@@ -0,0 +1,47 @@
.--mod-service .unity-text-element {
color: rgb(247, 247, 247);
-unity-font-style: bold;
}
.--mod-service Button {
background-color: rgba(0, 0, 0, 0);
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
padding-top: 12px;
padding-right: 16px;
padding-bottom: 12px;
padding-left: 16px;
min-width: 128px;
}
.--mod-service Button:hover {
background-color: rgb(57, 57, 57);
color: rgb(237, 237, 237);
-unity-font-style: bold;
}
.--mod-service .mod-element {
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
background-color: rgba(0, 0, 0, 0);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
.--mod-service .mod-element:hover {
background-color: rgb(57, 57, 57);
}
.--mod-service .mod-element:hover Label {
color: rgb(237, 237, 237);
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4603eeaf39bae3448a93680711a15c42
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0

View File

@@ -0,0 +1,60 @@
<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">
<ui:Template name="ModTemplate" src="project://database/Assets/BITKit/Unity/UX/ModTemplate.uxml?fileID=9197481963319205126&amp;guid=5d8350eb5da74b34a81d90d7fdea10c7&amp;type=3#ModTemplate" />
<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/BITKit/Unity/UX/UXModService.uss?fileID=7433441132597879392&amp;guid=4603eeaf39bae3448a93680711a15c42&amp;type=3#UXModService" />
<Style src="project://database/Assets/BITKit/Unity/UX/BITAlert.uss?fileID=7433441132597879392&amp;guid=8d0db0fee932f5342988f09217d6309a&amp;type=3#BITAlert" />
<ui:VisualElement class="root" style="background-color: rgba(0, 0, 0, 0.92);" />
<ui:VisualElement name="VisualElement" class="root --mod-service" style="flex-grow: 1;">
<ui:VisualElement class="flex-center">
<ui:VisualElement style="flex-direction: row;">
<ui:VisualElement style="flex-grow: 1;">
<ui:Label tabindex="-1" text="Mod列表" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:ScrollView>
<ui:VisualElement name="mods-container" style="width: 1024px; height: 768px;">
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
<ui:Instance template="ModTemplate" name="ModTemplate" />
</ui:VisualElement>
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement style="width: 384px; margin-left: 64px;">
<ui:Label tabindex="-1" text="Mod列表" parse-escape-sequences="true" display-tooltip-when-elided="true" class="tl" />
<ui:VisualElement name="info-container" style="flex-grow: 1;">
<ui:VisualElement name="mod-image" style="height: 256px; background-color: rgba(0, 0, 0, 0); background-image: url(&apos;project://database/Assets/BITKit/Unity/Art/Images/Mod_Package.png?fileID=2800000&amp;guid=7ef0888883a3a7442989365c2dc57862&amp;type=3#Mod_Package&apos;); -unity-background-scale-mode: scale-and-crop;" />
<ui:VisualElement style="padding-top: 8px; padding-right: 0; padding-bottom: 8px; padding-left: 0; flex-grow: 1;">
<ui:Label tabindex="-1" text="加载一个Mod" parse-escape-sequences="true" display-tooltip-when-elided="true" name="mod-name-label" class="tl" />
<ui:Label tabindex="-1" text="通过Windows Explorer选择Mod后,需要等待一段时间才能加载,这是因为explorer内部的延迟&#10;&#10;可以直接加载编译好的dll&#10;加载.cs需要安装MonoBleedingEdge&#10;&#10;已加载的脚本mod无法动态完成卸载,可能需要重启应用&#10;&#10;动态加载的Mod不会保存,如需要每次启动都自动加载,需要将Mod放置在/Mods/{ModName}/文件夹中,并创建PackageInfo.json描述文件" parse-escape-sequences="true" display-tooltip-when-elided="true" name="mod-description-label" style="white-space: normal;" />
<ui:VisualElement style="flex-grow: 1;" />
<ui:Button text="打开开发手册" parse-escape-sequences="true" display-tooltip-when-elided="true" name="open-manual-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement class="theme-dark alert-container" style="flex-grow: 1; flex-direction: row; margin-top: 16px;">
<ui:Button text="返回" parse-escape-sequences="true" display-tooltip-when-elided="true" name="return-button" />
<ui:VisualElement style="flex-grow: 1; align-items: stretch; flex-direction: row; justify-content: flex-end;">
<ui:Label tabindex="-1" text="安装Roslyn" parse-escape-sequences="true" display-tooltip-when-elided="true" style="-unity-text-align: middle-left;" />
<ui:Button text="安装" parse-escape-sequences="true" display-tooltip-when-elided="true" name="install-roslyn-button">
<ui:VisualElement name="install-roslyn-fill" class="root" style="background-color: rgba(255, 255, 255, 0.5); width: 49%;" />
</ui:Button>
<ui:Button text="卸载" parse-escape-sequences="true" display-tooltip-when-elided="true" name="uninstall-roslyn-button" />
<ui:VisualElement style="width: 384px; align-items: flex-end; flex-direction: row; justify-content: flex-end;">
<ui:Button text="重载Mod" parse-escape-sequences="true" display-tooltip-when-elided="true" name="reload-mod-button" />
<ui:Button text="加载Mod" parse-escape-sequences="true" display-tooltip-when-elided="true" name="open-mod-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

View File

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

View File

@@ -0,0 +1,6 @@
<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 name="VisualElement" picking-mode="Ignore" class="root" style="flex-grow: 1; align-items: flex-start;">
<ui:Label tabindex="-1" text="This is tooltips工具提示" parse-escape-sequences="true" display-tooltip-when-elided="true" style="background-color: rgb(0, 0, 0); color: rgb(213, 213, 213); padding-right: 16px; padding-left: 16px; padding-top: 8px; padding-bottom: 8px; -unity-text-align: upper-left; align-items: flex-start; flex-direction: column;" />
</ui:VisualElement>
</ui:UXML>

View File

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

View File

@@ -0,0 +1,5 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
<ui:VisualElement style="flex-grow: 1;">
<ui:Label tabindex="-1" text="等待加载中..." parse-escape-sequences="true" display-tooltip-when-elided="true" name="context-label" />
</ui:VisualElement>
</ui:UXML>

View File

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

View File

@@ -1,6 +1,13 @@
<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">
<ui:VisualElement name="Background" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0.03); position: absolute; left: 0; top: 0; bottom: 0; right: 0;" />
<ui:VisualElement style="margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; -unity-font-definition: url(&apos;project://database/Assets/BITKit/Art/Fonts/NotoSansSC-Bold%20SDF.asset?fileID=11400000&amp;guid=033cc1a4c6c35c6488ad74f4cee476ac&amp;type=2#NotoSansSC-Bold SDF&apos;); color: rgb(144, 144, 144);">
<ui:Label text="等待中" display-tooltip-when-elided="true" style="font-size: 32px;" />
<ui:Template name="UXWaiting_Handle_Template" src="project://database/Assets/BITKit/Unity/UX/UXWaiting_Handle_Template.uxml?fileID=9197481963319205126&amp;guid=418bc306b2e063847b56f7b5f5a23f7d&amp;type=3#UXWaiting_Handle_Template" />
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<ui:VisualElement name="waiting-root" style="flex-grow: 1;">
<ui:VisualElement name="Background" picking-mode="Ignore" style="background-color: rgba(0, 0, 0, 0.92); position: absolute; left: 0; top: 0; bottom: 0; right: 0;" />
<ui:VisualElement class="flex-center" style="min-width: 512px; min-height: 256px; background-color: rgb(113, 113, 113); border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; padding-top: 0; padding-right: 8px; padding-bottom: 8px; padding-left: 8px;">
<ui:Label text="等待中" display-tooltip-when-elided="true" class="tl" style="-unity-font-style: bold;" />
<ui:VisualElement name="waiting-container" style="flex-grow: 1; background-color: rgb(87, 87, 87);">
<ui:Instance template="UXWaiting_Handle_Template" name="UXWaiting_Handle_Template" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>