为 RepoItem 添加背景耐久变色

This commit is contained in:
SepComet
2026-03-04 19:17:13 +08:00
parent 1e5803f4c5
commit 298345fa17
10 changed files with 424 additions and 232 deletions
+28 -27
View File
@@ -59,9 +59,9 @@ MonoBehaviour:
_tagItemPrefab: {fileID: 2724990199440728093, guid: b8cf55567ed692c439cc016211a19ded,
type: 3}
_autoResizeHeight: 1
_fixedTopHeight: 180
_fixedBottomHeight: 400
_fixedWidth: 600
_fixedTopHeight: 300
_fixedBottomHeight: 200
_fixedWidth: 800
_screenEdgePadding: 0
_sideGap: 16
_anchorItemWidth: 0
@@ -101,8 +101,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 150}
m_SizeDelta: {x: 540, y: 100}
m_AnchoredPosition: {x: 0, y: 130}
m_SizeDelta: {x: 740, y: 50}
m_Pivot: {x: 0.5, y: 0}
--- !u!114 &1667346964111373606
MonoBehaviour:
@@ -122,8 +122,8 @@ MonoBehaviour:
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_Spacing: 10
m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_ChildControlHeight: 0
@@ -171,7 +171,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -500}
m_SizeDelta: {x: 600, y: 1000}
m_SizeDelta: {x: 800, y: 1000}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &3996340794476105959
CanvasRenderer:
@@ -194,7 +194,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.078431375, g: 0.078431375, b: 0.078431375, a: 0.78431374}
m_Color: {r: 0.078431375, g: 0.078431375, b: 0.078431375, a: 0.9019608}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@@ -257,9 +257,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 280, y: -80}
m_SizeDelta: {x: 500, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 30, y: -50}
m_SizeDelta: {x: 500, y: 100}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3590733437255178557
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -316,8 +316,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 50
m_fontSizeBase: 50
m_fontSize: 60
m_fontSizeBase: 60
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -392,9 +392,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 280, y: -147.5}
m_SizeDelta: {x: 500, y: 55}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 30, y: -150}
m_SizeDelta: {x: 500, y: 80}
m_Pivot: {x: 0, y: 1}
--- !u!222 &6203466971508003467
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -451,8 +451,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontSize: 50
m_fontSizeBase: 50
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -527,8 +527,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -200}
m_SizeDelta: {x: 540, y: 500}
m_AnchoredPosition: {x: 0.00000036508, y: -250}
m_SizeDelta: {x: 740, y: 500}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &4798810177026917072
CanvasRenderer:
@@ -586,8 +586,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 32
m_fontSizeBase: 32
m_fontSize: 45
m_fontSizeBase: 45
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -663,7 +663,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 30}
m_SizeDelta: {x: 540, y: 60}
m_SizeDelta: {x: 740, y: 80}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &3799867405260183227
CanvasRenderer:
@@ -721,8 +721,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 32
m_fontSizeBase: 32
m_fontSize: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -919,7 +919,8 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 1920576543566152029, guid: 2307f223279813546a43b221ddd496cc, type: 3}
m_RemovedGameObjects: []
m_RemovedGameObjects:
- {fileID: 7607456171798064113, guid: 2307f223279813546a43b221ddd496cc, type: 3}
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2307f223279813546a43b221ddd496cc, type: 3}