unity-atoms/Examples/Assets/InfiniteWaves/UI/WaveCountText.cs

11 lines
243 B
C#
Raw Normal View History

2020-03-17 21:00:18 -04:00
using UnityEngine;
using UnityEngine.UI;
namespace UnityAtoms.Examples
{
public class WaveCountText : MonoBehaviour
{
public void AdjustText(int waveCount) => GetComponent<Text>().text = $"Wave count: {waveCount}";
}
}