Skip to content

Commit

Permalink
c# update for game ui
Browse files Browse the repository at this point in the history
  • Loading branch information
shnok committed Dec 1, 2024
1 parent 4ceffac commit 4363af2
Show file tree
Hide file tree
Showing 49 changed files with 598 additions and 585 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,10 @@
font-size: 11px;
color: rgb(223, 222, 222);
-unity-text-outline-color: rgba(0, 0, 0, 0.6);
}
}

.l2-bar-container {
flex-grow: 1;
height: 14px;
max-height: 14px;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xmlns="UnityEngine.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/Resources/Data/UI/_Elements/L2StyleSheet.uss?fileID=7433441132597879392&amp;guid=72e99cc94b130bf4ba100dceaa830b13&amp;type=3#L2StyleSheet" />
<Style src="project://database/Assets/Resources/Data/UI/_Elements/Components/L2Bar/L2Bar.uss?fileID=7433441132597879392&amp;guid=a56090906dc32294994ed8860c7b159e&amp;type=3#L2Bar" />
<ui:VisualElement name="L2Bar" template="HpBar" class="bar-container l2-bar" style="max-height: 14px;">
<ui:VisualElement name="L2Bar" template="HpBar" class="bar-container l2-bar">
<ui:Label text="Label" name="Label" class="l2-bar-name" />
<ui:VisualElement name="Gauge" style="flex-grow: 1;">
<ui:VisualElement name="Gauge" class="l2-bar-container">
<ui:GroupBox name="BarBg" class="l2-bar-container l2-bar-bg">
<ui:VisualElement name="BGLeft" class="l2-bar-side-ele l2-bar-left" />
<ui:VisualElement name="BGCenter" class="l2-bar-center-ele l2-bar-center" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
margin-top: 0;
}

.unity-base-field__input {
.l2-dropdown .unity-base-field__input {
padding: 0;
margin: 0;
background-color: transparent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.l2-scroll-view .unity-scroll-view__content-viewport {
margin-top: 6px;
margin-bottom: 4px;
padding-left: 4px;
overflow: hidden;
}

Expand Down
Loading

0 comments on commit 4363af2

Please sign in to comment.