ARTracking/Assets/New Folder/GameOverUi.cs

17 lines
320 B
C#

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