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; } }