DESKTOP-SAJ6RKV\Administrator e6de85d765 1
2025-06-17 19:47:14 +08:00

26 lines
578 B
C#

using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace GameLogic
{
public class UIHDWmsp : MonoBehaviour
{
public TextMeshProUGUI m_teamName;
public TextMeshProUGUI m_PlayerName;
public RawImage m_HeadIcon;
public void OnInit(string teamName, string playerName, string imgUrl)
{
m_teamName.text = teamName;
m_PlayerName.text = playerName;
AsyncImageDownload.Instance.SetAsyncImage(imgUrl, m_HeadIcon);
}
}
}