From 5675f151b429b247a4af7f1c109c60287138aa1e Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Wed, 4 Jun 2025 06:27:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnityProject/Assets/AssetRaw/UI/Join.prefab | 2 +- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UnityProject/Assets/AssetRaw/UI/Join.prefab b/UnityProject/Assets/AssetRaw/UI/Join.prefab index 0d13098a..f7170651 100644 --- a/UnityProject/Assets/AssetRaw/UI/Join.prefab +++ b/UnityProject/Assets/AssetRaw/UI/Join.prefab @@ -107,7 +107,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: -9.9, y: 331.8} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &9127987029771401410 diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index f5d0f03d..8e2a273b 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -480,7 +480,7 @@ namespace GameLogic var jiaRuItem = GameObject.Instantiate(m_rect_GiftPanel.transform.GetChild(1)); jiaRuItem.transform.SetParent(m_rect_GiftPanel); jiaRuItem.transform.localScale = Vector3.one; - jiaRuItem.transform.localPosition = Vector3.zero; + jiaRuItem.transform.localPosition = new Vector3(350,0,0); jiaRuItem.gameObject.SetActive(true); jiaRuItem.GetComponent().OnInit(unitPlayerData);