From 04ec368a59a7fa424a482825bf977b91d4668cf8 Mon Sep 17 00:00:00 2001 From: TRADER_FOER Date: Mon, 20 Jul 2026 16:18:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=A8=E7=94=BB=EF=BC=9A?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: TRADER_FOER --- .../Menu/UI Elements/MessageBox.prefab | 37 ++++++------------- .../Menu/UI Elements/SelectionBox.prefab | 31 ++++++++++------ .../Sprites/UITextures/General/BoxBG.png.meta | 28 +++++++++++++- 3 files changed, 58 insertions(+), 38 deletions(-) diff --git a/Assets/Prefabs/Menu/UI Elements/MessageBox.prefab b/Assets/Prefabs/Menu/UI Elements/MessageBox.prefab index f6d31f2d..e5e56d95 100644 --- a/Assets/Prefabs/Menu/UI Elements/MessageBox.prefab +++ b/Assets/Prefabs/Menu/UI Elements/MessageBox.prefab @@ -644,7 +644,7 @@ MonoBehaviour: m_PersistentCalls: m_Calls: [] m_Sprite: {fileID: 21300000, guid: 49526de8ef0d7374696f0e4fd4533142, type: 3} - m_Type: 0 + m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -652,7 +652,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 6 + m_PixelsPerUnitMultiplier: 0.4 --- !u!114 &1298824838980674848 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1789,23 +1789,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 464526859792bdc4e8f53386f07a4cb3, type: 3} m_Name: m_EditorClassIdentifier: - serializationData: - SerializedFormat: 0 - SerializedBytes: 2d010500000069006e0066006f0073002d010b000000660061006400650054007700650065006e0065007200 - ReferencedUnityObjects: [] - SerializedBytesString: - Prefab: {fileID: 0} - PrefabModificationsReferencedUnityObjects: [] - PrefabModifications: [] - SerializationNodes: [] canvasGroup: {fileID: 8574893005057652156} - onAllMessagesClosed: - m_PersistentCalls: - m_Calls: [] - infoIndex: 0 + receiveButton: {fileID: 4340772145404139184} titleText: {fileID: 6761781486796546023} contentText: {fileID: 6938669434854681663} - receiveButton: {fileID: 4340772145404139184} messageBody: {fileID: 8562841871665862083} backgroundVisual: {fileID: 1238328445874784691} titleTextMask: {fileID: 2196133923270179751} @@ -1816,17 +1803,17 @@ MonoBehaviour: rightRail: {fileID: 2287054332031316397} maximumBodyHeight: 600 minimumContentFontSize: 18 - bodyOpenDelay: 0.1 - bodyOpenDuration: 0.5 - railOpenDuration: 0.5 + bodyOpenDelay: 0 + bodyOpenDuration: 0.4 railOpenDelay: 0 - bodyCloseDuration: 0.5 + railOpenDuration: 0.245 bodyCloseDelay: 0 - railCloseDuration: 0.5 - railCloseDelay: 0.1 - finalFadeDuration: 0.1 - bodyEase: 6 - railEase: 12 + bodyCloseDuration: 0.25 + railCloseDelay: 0 + railCloseDuration: 0.25 + closedMaskHorizontalPadding: 520 + bodyEase: 21 + railEase: 18 --- !u!1 &8363676779123625864 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Menu/UI Elements/SelectionBox.prefab b/Assets/Prefabs/Menu/UI Elements/SelectionBox.prefab index 835f798f..dc965b47 100644 --- a/Assets/Prefabs/Menu/UI Elements/SelectionBox.prefab +++ b/Assets/Prefabs/Menu/UI Elements/SelectionBox.prefab @@ -338,7 +338,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 20, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 15, y: -100} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &836901309383968070 @@ -656,7 +656,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} m_Name: m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.RectMask2D - m_Padding: {x: 600, y: 0, z: 600, w: 0} + m_Padding: {x: 0, y: 0, z: 0, w: 0} m_Softness: {x: 0, y: 0} --- !u!1 &2296829718953005465 GameObject: @@ -1118,7 +1118,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} m_Name: m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.RectMask2D - m_Padding: {x: 600, y: 0, z: 600, w: 0} + m_Padding: {x: 0, y: 0, z: 0, w: 0} m_Softness: {x: 0, y: 0} --- !u!1 &5488095296299003890 GameObject: @@ -1375,7 +1375,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -20, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 15, y: -100} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7647570577561390676 @@ -1663,17 +1663,24 @@ MonoBehaviour: railRoot: {fileID: 1035756863194169128} leftRail: {fileID: 890357783143957760} rightRail: {fileID: 2287054332031316397} - bodyOpenDelay: 0.1 - bodyOpenDuration: 0.5 + bodyOpenDelay: 0 + bodyOpenDuration: 0.4 railOpenDelay: 0 - railOpenDuration: 0.5 + railOpenDuration: 0.25 bodyCloseDelay: 0 - bodyCloseDuration: 0.5 - railCloseDelay: 0.1 - railCloseDuration: 0.5 + bodyCloseDuration: 0.25 + railCloseDelay: 0 + railCloseDuration: 0.3 closedMaskHorizontalPadding: 600 - bodyEase: 6 - railEase: 12 + bodyEase: 21 + railEase: 18 + optionRevealDelay: 0 + optionRevealDuration: 0.3 + optionRevealEase: 18 + optionRevealFadeEase: 17 + optionRevealVerticalOffset: 100 + optionCloseDuration: 0.2 + optionCloseEase: 8 --- !u!1 &7367933445236546045 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Sprites/UITextures/General/BoxBG.png.meta b/Assets/Sprites/UITextures/General/BoxBG.png.meta index ec1ab2bb..d0fa61b4 100644 --- a/Assets/Sprites/UITextures/General/BoxBG.png.meta +++ b/Assets/Sprites/UITextures/General/BoxBG.png.meta @@ -34,7 +34,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: 1 + filterMode: 0 aniso: 1 mipBias: 0 wrapU: 1 @@ -119,6 +119,32 @@ TextureImporter: ignorePlatformSupport: 0 androidETC2FallbackOverride: 0 forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WindowsStoreApps + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 spriteSheet: serializedVersion: 2 sprites: []