From 7f606480083cf288d39ca69567a352db089a2de7 Mon Sep 17 00:00:00 2001 From: GL <2365963573@qq.com> Date: Wed, 4 Dec 2024 18:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=80=83=E6=9D=80UI=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Scenes/Battle_Royale.unity | 170 +++++++++--------- .../Assets/Scripts/RacingPanel/AllManeger.cs | 1 + 2 files changed, 86 insertions(+), 85 deletions(-) diff --git a/TheStrongestSnail/Assets/Scenes/Battle_Royale.unity b/TheStrongestSnail/Assets/Scenes/Battle_Royale.unity index 63cfcbc..9e3b0ba 100644 --- a/TheStrongestSnail/Assets/Scenes/Battle_Royale.unity +++ b/TheStrongestSnail/Assets/Scenes/Battle_Royale.unity @@ -1138,7 +1138,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1225833476} - m_RootOrder: 24 + m_RootOrder: 25 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -4138,7 +4138,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1225833476} - m_RootOrder: 20 + m_RootOrder: 22 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -5432,9 +5432,9 @@ RectTransform: m_Father: {fileID: 582056263} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 691.1493, y: -530.9911} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 1306.2986, y: 609.9821} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &384095152 @@ -10823,9 +10823,9 @@ RectTransform: m_Father: {fileID: 582056263} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 691.15, y: -2325.055} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 1306.3, y: 353.7809} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &760515340 @@ -11921,9 +11921,9 @@ RectTransform: m_Father: {fileID: 582056263} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 691.15, y: -2015.7462} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 1306.3, y: 172.6165} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &875993942 @@ -14983,7 +14983,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6513331807595845951, guid: 7f207d2cff994d04f9a72fef5e743f4e, type: 3} propertyPath: m_RootOrder - value: 19 + value: 21 objectReference: {fileID: 0} - target: {fileID: 6513331807595845951, guid: 7f207d2cff994d04f9a72fef5e743f4e, type: 3} propertyPath: m_AnchorMax.x @@ -17670,13 +17670,13 @@ RectTransform: - {fileID: 1733558909} - {fileID: 1016365649} - {fileID: 627582903} + - {fileID: 1807910153} + - {fileID: 575251612} - {fileID: 1034015475} - {fileID: 286275319} - {fileID: 1710949829} - {fileID: 2127674356} - - {fileID: 1807910153} - {fileID: 54960147} - - {fileID: 575251612} - {fileID: 907368009} - {fileID: 12243715} m_Father: {fileID: 0} @@ -23718,7 +23718,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5372453729458756189, guid: f06fd4485b1c4c54ba7070bde9d2b5d3, type: 3} propertyPath: m_RootOrder - value: 21 + value: 23 objectReference: {fileID: 0} - target: {fileID: 5372453729458756189, guid: f06fd4485b1c4c54ba7070bde9d2b5d3, type: 3} propertyPath: m_AnchorMax.x @@ -25521,7 +25521,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5635487945786161428, guid: ef90c1189bad79c4a92f0d2f4d974d3d, type: 3} propertyPath: m_RootOrder - value: 23 + value: 19 objectReference: {fileID: 0} - target: {fileID: 5635487945786161428, guid: ef90c1189bad79c4a92f0d2f4d974d3d, type: 3} propertyPath: m_AnchorMax.x @@ -26039,9 +26039,9 @@ RectTransform: m_Father: {fileID: 582056263} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 691.1493, y: -1382.7101} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 1306.2986, y: 1001.2359} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1845562840 @@ -28364,7 +28364,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 1225833476} - m_RootOrder: 22 + m_RootOrder: 24 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -29355,83 +29355,83 @@ PrefabInstance: m_Modifications: - target: {fileID: 1574451516597611413, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516597611413, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516597611413, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1317.4369 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516597611413, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516626885862, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516626885862, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516626885862, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 304.0239 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516626885862, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516796566995, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516796566995, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516796566995, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 506.7065 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516796566995, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516872370445, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516872370445, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516872370445, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 101.3413 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516872370445, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516962071581, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516962071581, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516962071581, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1114.7543 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451516962071581, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517034624560, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_Name @@ -29447,7 +29447,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1574451517034624567, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_RootOrder - value: 25 + value: 20 objectReference: {fileID: 0} - target: {fileID: 1574451517034624567, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.x @@ -29523,67 +29523,67 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1574451517038294151, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517038294151, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517038294151, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 709.3891 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517038294151, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517080850946, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517080850946, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517080850946, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 506.7065 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517080850946, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517258934524, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517258934524, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517258934524, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 709.3891 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517258934524, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517287618817, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517287618817, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517287618817, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1520.1195 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517287618817, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517526691391, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_SizeDelta.x @@ -29591,115 +29591,115 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1574451517602680720, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517602680720, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517602680720, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 912.0717 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517602680720, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517626038754, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517626038754, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517626038754, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1317.4369 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517626038754, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517695183498, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517695183498, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517695183498, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1114.7543 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517695183498, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517745085721, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517745085721, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517745085721, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 1520.1195 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517745085721, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517816687805, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517816687805, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517816687805, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 101.3413 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451517816687805, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518099636616, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518099636616, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518099636616, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 304.0239 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518099636616, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518214997481, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518214997481, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518214997481, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.x - value: 912.0717 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518214997481, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_AnchoredPosition.y - value: -97.07 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1574451518253800653, guid: 52525b7ee4a02b947be72267c965e811, type: 3} propertyPath: m_SizeDelta.x diff --git a/TheStrongestSnail/Assets/Scripts/RacingPanel/AllManeger.cs b/TheStrongestSnail/Assets/Scripts/RacingPanel/AllManeger.cs index 6472bc7..7f0c69f 100644 --- a/TheStrongestSnail/Assets/Scripts/RacingPanel/AllManeger.cs +++ b/TheStrongestSnail/Assets/Scripts/RacingPanel/AllManeger.cs @@ -214,6 +214,7 @@ public class AllManeger : MonoBehaviour RacingSuccessPanel.instance.ShowPanel(); if (knightBetResult.data.Count>0) { + Debug.Log("½áËã½±Àø"); RacingSuccessPanel.instance.textSnailEggs.text = knightBetResult.data[0].win.ToString("F1"); }