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;
        Invoke("Des", 2);
    }

    public void Des()
    {
        Destroy(gameObject);
    }
}