From f61e51a4f0d4abecefedc096402fdfdd4b50af71 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Tue, 20 May 2025 02:59:26 +0800 Subject: [PATCH] 1 --- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index b988d17a..80fa1271 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -97,7 +97,7 @@ namespace GameLogic // 计算位置 r.anchorMin = new Vector2(0.5f, 0.5f); r.anchorMax = new Vector2(0.5f, 0.5f); - r.anchoredPosition = new Vector2(0, 478 - 65 - i * (109 - 5f)); + r.anchoredPosition = new Vector2(0, 465 - 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); @@ -382,7 +382,7 @@ namespace GameLogic var hItemActor = hItemActors[i].actor; hItemActor.m_Index = i + 1; var rectTransform = hItemActor.gameObject.GetComponent(); - Vector2 targetPosition = new Vector2(0, 478 - i * (109 - 5f)); + Vector2 targetPosition = new Vector2(0, 465 - i * (109 - 5f)); targetPositions[rectTransform] = targetPosition; }