using TMPro; using UnityEngine; public class GameOverUi : MonoBehaviour { [SerializeField] private TextMeshProUGUI text; private void Start() { //WheelText.OnAnyPopup += WheelText_OnAnyPopup; } private void WheelText_OnAnyPopup(object sender, string e) { text.text = e; } }