123456789101112131415161718192021 |
- using System.Collections;
- using System.Collections.Generic;
- using TMPro;
- using UnityEngine;
- public class ShowInfoTipManager : MonoSingleton<ShowInfoTipManager>
- {
- public GameObject go;
- public TextMeshProUGUI text;
- public void showTip(string msg)
- {
- go.gameObject.SetActive(true);
- text.text = msg;
- }
- public void closeTip()
- {
- go.gameObject.SetActive(false);
- }
- }
|