diff --git a/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab b/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab index 90eab6b2..1daecd91 100644 --- a/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab +++ b/UnityProject/Assets/AssetRaw/UI/UIGameBattle.prefab @@ -36399,8 +36399,8 @@ RectTransform: 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: -103.32, y: -48.706177} - m_SizeDelta: {x: 1286.7, y: 1065.4} + m_AnchoredPosition: {x: -103.32, y: 220.72327} + m_SizeDelta: {x: 1286.7, y: 1604.2589} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &8156066108206093086 MonoBehaviour: @@ -37316,7 +37316,7 @@ RectTransform: 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: 190.32027, y: 463.358} + m_AnchoredPosition: {x: 190.32027, y: 193.92856} m_SizeDelta: {x: 1080, y: 109} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &3182275938344351334 diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index e8ec074e..1311cfa6 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -137,7 +137,7 @@ namespace GameLogic // 计算位置 r.anchorMin = new Vector2(0.5f, 0.5f); r.anchorMax = new Vector2(0.5f, 0.5f); - r.anchoredPosition = new Vector2(127, 435 - 65 - i * (109 - 5f)); + r.anchoredPosition = new Vector2(127, 190 - 65 - i * (109 - 5f)); r.localPosition = new Vector3(r.localPosition.x, r.localPosition.y, 0); actorHItem.OnInit(i); DataGameSceneManager.Instance.m_DicTeamList.Add((i + 1).ToString(), actorHItem); @@ -654,7 +654,7 @@ namespace GameLogic var hItemActor = hItemActors[i].actor; //hItemActor.m_Index = i; var rectTransform = hItemActor.gameObject.GetComponent(); - Vector2 targetPosition = new Vector2(127, 435 - i * (109 - 5f)); + Vector2 targetPosition = new Vector2(127, 190 - i * (109 - 5f)); targetPositions[rectTransform] = targetPosition; }