25 lines
545 B
C#
25 lines
545 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace GeneralTools
|
|
{
|
|
public class SetNoticeShow : MonoBehaviour
|
|
{
|
|
|
|
public Text tittleText;
|
|
public Text showText;
|
|
|
|
public void Show(string tittleStr, string messageStr)
|
|
{
|
|
tittleText.text = tittleStr;
|
|
showText.text = messageStr;
|
|
gameObject.SetActive(true);
|
|
}
|
|
public void Hide()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|
|
} |