1
This commit is contained in:
@@ -21,7 +21,7 @@ MonoBehaviour:
|
||||
m_FallbackDpi: 96
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_Match: 0.421
|
||||
m_Match: 0.5
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearDepthStencil: 1
|
||||
|
@@ -93,6 +93,37 @@ TabBar Button:disabled {
|
||||
margin-left: 32px;
|
||||
}
|
||||
|
||||
.gap-8 {
|
||||
margin-top: -8px;
|
||||
margin-right: -8px;
|
||||
margin-bottom: -8px;
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
||||
.gap-8 > * {
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
.gap-x-8 {
|
||||
margin-right: -8px;
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
||||
.gap-x-8 > * {
|
||||
margin-left: 8px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.gap-y-8 {
|
||||
margin-top: -8px;
|
||||
margin-bottom: -8px;
|
||||
}
|
||||
|
||||
.gap-y-8 > * {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.r-8 {
|
||||
border-top-left-radius: 8px;
|
||||
border-bottom-left-radius: 8px;
|
||||
@@ -473,3 +504,7 @@ Button.clear {
|
||||
border-top-color: rgba(0, 0, 0, 0);
|
||||
border-bottom-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
TabContainer > * {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<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&guid=5d8350eb5da74b34a81d90d7fdea10c7&type=3#ModTemplate" />
|
||||
<ui:Template name="ModTemplate" src="project://database/Assets/BITKit/Unity/UX/ux_mod_service_template.uxml?fileID=9197481963319205126&guid=5d8350eb5da74b34a81d90d7fdea10c7&type=3#ux_mod_service_template" />
|
||||
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&guid=a3a69d3518fd02b489e721f3c5b0b539&type=3#Common" />
|
||||
<Style src="project://database/Assets/BITKit/Unity/UX/UXModService.uss?fileID=7433441132597879392&guid=4603eeaf39bae3448a93680711a15c42&type=3#UXModService" />
|
||||
<Style src="project://database/Assets/BITKit/Unity/UX/BITAlert.uss?fileID=7433441132597879392&guid=8d0db0fee932f5342988f09217d6309a&type=3#BITAlert" />
|
||||
@@ -31,12 +31,13 @@
|
||||
<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('project://database/Assets/BITKit/Unity/Art/Images/Mod_Package.png?fileID=2800000&guid=7ef0888883a3a7442989365c2dc57862&type=3#Mod_Package'); -unity-background-scale-mode: scale-and-crop;" />
|
||||
<ui:VisualElement name="mod-image" style="height: 256px; background-color: rgba(0, 0, 0, 0); background-image: url("project://database/Assets/BITKit/Unity/Art/Images/Mod_Package.png?fileID=2800000&guid=7ef0888883a3a7442989365c2dc57862&type=3#Mod_Package"); -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内部的延迟 可以直接加载编译好的dll 加载.cs需要安装MonoBleedingEdge 已加载的脚本mod无法动态完成卸载,可能需要重启应用 动态加载的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:Button text="打开Mod目录" parse-escape-sequences="true" display-tooltip-when-elided="true" name="open_folder-button" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
|
Reference in New Issue
Block a user