3DTD/Assets/Scripts/UI/WaveUIDisplayer.cs

15 lines
314 B
C#

using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class WaveUIDisplayer : MonoBehaviour
{
[SerializeField] private TMP_Text WaveDisplayText;
private void Update()
{
WaveDisplayText.text = EnemySpawnManager.Instance.WaveNum.ToString();
}
}