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

15 lines
314 B
C#
Raw Normal View History

2024-04-21 11:10:18 +02:00
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();
}
}