1. 调整 UI 以适配新的分辨率 2. 导入素材并将素材应用到 UI 上

This commit is contained in:
SepComet
2026-04-18 19:33:27 +08:00
parent d210318a2e
commit fbb9120a42
84 changed files with 181125 additions and 6585 deletions
File diff suppressed because it is too large Load Diff
@@ -167,7 +167,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -200, y: -100}
m_SizeDelta: {x: -160, y: -60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6873615243070434848
CanvasRenderer:
@@ -197,10 +197,10 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u674E\u8BEB"
m_text: "\u674E\u8BEB\n\u674E\u8BEB\n\u674E\u8BEB"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 99d811b0183246646a2ce8df996f4bca, type: 2}
m_sharedMaterial: {fileID: -1106088975554028259, guid: 99d811b0183246646a2ce8df996f4bca,
m_fontAsset: {fileID: 11400000, guid: f04cfd53e22bdc14b808906f4d98571b, type: 2}
m_sharedMaterial: {fileID: -1730358588487011198, guid: f04cfd53e22bdc14b808906f4d98571b,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
@@ -301,8 +301,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -50}
m_SizeDelta: {x: 0, y: -100}
m_AnchoredPosition: {x: 0, y: -40}
m_SizeDelta: {x: 0, y: -80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2526382269717144677
GameObject:
@@ -321,7 +321,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4594737505273760298
RectTransform:
m_ObjectHideFlags: 0
@@ -332,14 +332,14 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6089528910385973127}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 450, y: -200}
m_SizeDelta: {x: 900, y: 1205.4878}
m_AnchoredPosition: {x: 400, y: -200}
m_SizeDelta: {x: 635.9277, y: 1339.897}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1858592913377441272
CanvasRenderer:
@@ -369,7 +369,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Sprite: {fileID: 21300000, guid: 2643a75acd3517442bafc354b650a874, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@@ -525,8 +525,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 250, y: -50}
m_SizeDelta: {x: 500, y: 100}
m_AnchoredPosition: {x: 250, y: -40}
m_SizeDelta: {x: 500, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &4514918814497795030
GameObject:
@@ -660,8 +660,8 @@ MonoBehaviour:
_contentText: {fileID: 6431296888118130931}
_leftSprite: {fileID: 7945103967507868302}
_rightSprite: {fileID: 5385698520020721016}
_leftSpritePosition: 450
_rightSpritePosition: -450
_leftSpritePosition: 400
_rightSpritePosition: -400
_moveDuration: 0.25
_moveEase: 9
_dialogBgImages:
@@ -776,9 +776,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 100, y: 0}
m_SizeDelta: {x: -200, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -40, y: -0.000015258789}
m_SizeDelta: {x: -40, y: 0}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &5148587339817138371
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -809,8 +809,8 @@ MonoBehaviour:
m_Calls: []
m_text: "\u674E\u8BEB"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 99d811b0183246646a2ce8df996f4bca, type: 2}
m_sharedMaterial: {fileID: -1106088975554028259, guid: 99d811b0183246646a2ce8df996f4bca,
m_fontAsset: {fileID: 11400000, guid: f04cfd53e22bdc14b808906f4d98571b, type: 2}
m_sharedMaterial: {fileID: -1730358588487011198, guid: f04cfd53e22bdc14b808906f4d98571b,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
@@ -835,14 +835,14 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 50
m_fontSizeBase: 50
m_fontSize: 80
m_fontSizeBase: 80
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_fontStyle: 1
m_HorizontalAlignment: 4
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
@@ -894,7 +894,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &1023330169278438415
RectTransform:
m_ObjectHideFlags: 0
@@ -905,14 +905,14 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6089528910385973127}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -450, y: -200}
m_SizeDelta: {x: 900, y: 1205.4878}
m_AnchoredPosition: {x: -400, y: -200}
m_SizeDelta: {x: 635.9277, y: 1339.897}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &23627497045646178
CanvasRenderer:
@@ -942,7 +942,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Sprite: {fileID: 21300000, guid: 0bd83432643563447b9fa5ec52e774b4, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@@ -986,6 +986,6 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 300}
m_SizeDelta: {x: 0, y: 600}
m_AnchoredPosition: {x: 0, y: 280}
m_SizeDelta: {x: 0, y: 380}
m_Pivot: {x: 0.5, y: 0.5}
File diff suppressed because it is too large Load Diff
@@ -67,8 +67,8 @@ MonoBehaviour:
m_Calls: []
m_text: "\u76F8\u4F20"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 99d811b0183246646a2ce8df996f4bca, type: 2}
m_sharedMaterial: {fileID: -1106088975554028259, guid: 99d811b0183246646a2ce8df996f4bca,
m_fontAsset: {fileID: 11400000, guid: f04cfd53e22bdc14b808906f4d98571b, type: 2}
m_sharedMaterial: {fileID: -1730358588487011198, guid: f04cfd53e22bdc14b808906f4d98571b,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
@@ -251,7 +251,7 @@ MonoBehaviour:
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 0}
m_TargetGraphic: {fileID: 5658364238492869697}
m_OnClick:
m_PersistentCalls:
m_Calls:
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff