From aac39b15aa7270f6baf389ad6203b2aa3a7c1bef Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Tue, 20 May 2025 03:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 80fa1271..ccea75f9 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, 465 - 65 - i * (109 - 5f)); + r.anchoredPosition = new Vector2(0, 435 - 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, 465 - i * (109 - 5f)); + Vector2 targetPosition = new Vector2(0, 435 - i * (109 - 5f)); targetPositions[rectTransform] = targetPosition; }