Skip to content

Commit

Permalink
feat: 🎨 Improve the panel UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyh28 committed Apr 6, 2024
1 parent 8db2ddc commit c692926
Show file tree
Hide file tree
Showing 7 changed files with 1,384 additions and 143 deletions.
33 changes: 24 additions & 9 deletions interface/interface_local/Assets/Prefabs/Button_.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 642592657658057440}
- component: {fileID: 457037433653746193}
- component: {fileID: 494760107565601563}
- component: {fileID: 5201532282260106589}
m_Layer: 5
m_Name: Button_
m_TagString: Untagged
Expand All @@ -37,7 +38,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 140.63, y: 22.42}
m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &642592657658057440
CanvasRenderer:
Expand All @@ -60,14 +61,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.8962264, g: 0.8962264, b: 0.8962264, a: 1}
m_Color: {r: 0.48113197, g: 0.7872038, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 987065206, guid: aa3d17c35ce76404c8e5d139bfe69210, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
Expand Down Expand Up @@ -121,6 +122,20 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &5201532282260106589
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6520991344062563853}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5a426c7e5757c9943bba67d19ccb2e44, type: 3}
m_Name:
m_EditorClassIdentifier:
sacleOrigin: {x: 0, y: 0, z: 0}
scaleChange: {x: 0, y: 0, z: 0}
--- !u!1 &8637768614659552370
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -195,8 +210,8 @@ MonoBehaviour:
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
rgba: 4294246144
m_fontColor: {r: 0, g: 1, b: 0.9553776, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
Expand All @@ -213,15 +228,15 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 12
m_fontSizeBase: 12
m_fontSize: 18
m_fontSizeBase: 18
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
Expand Down
16 changes: 8 additions & 8 deletions interface/interface_local/Assets/Prefabs/HelpObject.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ RectTransform:
- {fileID: 5302197623950112612}
m_Father: {fileID: 4894522584997185288}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -362, y: 80}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 80, y: 80}
m_SizeDelta: {x: 384.4, y: 385.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5012630802134581567
Expand Down Expand Up @@ -490,7 +490,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &6340287979041945930
RectTransform:
m_ObjectHideFlags: 0
Expand All @@ -510,10 +510,10 @@ RectTransform:
- {fileID: 2486617560167315227}
m_Father: {fileID: 4894522584997185288}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 679.33325, y: 332}
m_SizeDelta: {x: 777.4768, y: 425.9984}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5197784511538038890
CanvasRenderer:
Expand Down Expand Up @@ -1068,5 +1068,5 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 1374, y: 673}
m_Pivot: {x: 0.5, y: 0.5}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
149 changes: 149 additions & 0 deletions interface/interface_local/Assets/Resources/UI/Button/SF_slide.psd.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c692926

Please sign in to comment.