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) {