修复图不显示的问题
This commit is contained in:
parent
fd05064287
commit
e68fb913dc
@ -38,7 +38,8 @@ namespace GameLogic
|
|||||||
AsyncImageDownload.Instance.SetAsyncImage(unitPlayerData.protCustMessageData.imgURL, m_HeadIcon);
|
AsyncImageDownload.Instance.SetAsyncImage(unitPlayerData.protCustMessageData.imgURL, m_HeadIcon);
|
||||||
StartCoroutine(ScrollNumber(num)); // Start the number scrolling coroutine
|
StartCoroutine(ScrollNumber(num)); // Start the number scrolling coroutine
|
||||||
m_InfoTex.text = "送" + giftConfig.Name;
|
m_InfoTex.text = "送" + giftConfig.Name;
|
||||||
m_GiftIcon.material = GameModule.Resource.LoadAsset<Material>("gift" + giftConfig.Id + "_Left");
|
m_GiftIcon.sprite = GameModule.Resource.LoadAsset<Sprite>("1_" + (giftConfig.Id - 1));
|
||||||
|
//m_GiftIcon.material = GameModule.Resource.LoadAsset<Material>("gift" + giftConfig.Id + "_Left");
|
||||||
await UniTask.Delay(2000);
|
await UniTask.Delay(2000);
|
||||||
if (this != null && this.gameObject != null && transform.parent != null)
|
if (this != null && this.gameObject != null && transform.parent != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user