24 lines
409 B
C#
24 lines
409 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 提示对象
|
|
/// </summary>
|
|
public class TipsObj : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// 提示
|
|
/// </summary>
|
|
public TextMeshProUGUI tips;
|
|
|
|
/// <summary>
|
|
/// 设置提示
|
|
/// </summary>
|
|
public void SetTips(string str)
|
|
{
|
|
tips.text = str;
|
|
}
|
|
}
|