YanCheng_Metrology/Assets/Scripts/CXX/UI/TipPanel.cs

14 lines
263 B
C#

using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TipPanel : MonoBehaviour
{
public TextMeshProUGUI m_TextMeshProUGUI;
public void Init(string tip)
{
m_TextMeshProUGUI.text= tip;
}
}