From e68fb913dc66935a2f67655e6a7fe0132afd129f Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Wed, 28 May 2025 15:26:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGiftItem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGiftItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGiftItem.cs index b9542832..85d6b6ab 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGiftItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGiftItem.cs @@ -38,7 +38,8 @@ namespace GameLogic AsyncImageDownload.Instance.SetAsyncImage(unitPlayerData.protCustMessageData.imgURL, m_HeadIcon); StartCoroutine(ScrollNumber(num)); // Start the number scrolling coroutine m_InfoTex.text = "送" + giftConfig.Name; - m_GiftIcon.material = GameModule.Resource.LoadAsset("gift" + giftConfig.Id + "_Left"); + m_GiftIcon.sprite = GameModule.Resource.LoadAsset("1_" + (giftConfig.Id - 1)); + //m_GiftIcon.material = GameModule.Resource.LoadAsset("gift" + giftConfig.Id + "_Left"); await UniTask.Delay(2000); if (this != null && this.gameObject != null && transform.parent != null) {