17 lines
315 B
C#
Raw Normal View History

2025-05-18 01:04:31 +08:00
using TMPro;
using UnityEngine;
namespace NotificationSamples.Demo
{
public class NotificationEventItem : MonoBehaviour
{
[SerializeField]
protected TextMeshProUGUI eventLabel;
public void Show(string eventText)
{
eventLabel.text = eventText;
}
}
}