14 lines
325 B
C#
Raw Normal View History

2020-03-18 02:00:18 +01:00
using UnityEngine;
using UnityEngine.UI;
namespace UnityAtoms.Examples
{
2020-03-20 01:29:39 +01:00
/// <summary>
/// Sets the text for the Wave count UI.
/// </summary>
2020-03-18 02:00:18 +01:00
public class WaveCountText : MonoBehaviour
{
public void AdjustText(int waveCount) => GetComponent<Text>().text = $"Wave count: {waveCount}";
}
}