_xiaofang/xiaofang/Assets/Script/UI/EventInfo.cs
2024-11-25 17:15:16 +08:00

16 lines
280 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EventInfo : MonoBehaviour
{
public int eventId;
public string eventName;
public Text text;
void Start()
{
text.text = eventName;
}
}