unity-atoms/Examples/Assets/InfiniteWaves/UI/WaveCountText.cs
2020-03-19 22:42:34 +01:00

11 lines
243 B
C#

using UnityEngine;
using UnityEngine.UI;
namespace UnityAtoms.Examples
{
public class WaveCountText : MonoBehaviour
{
public void AdjustText(int waveCount) => GetComponent<Text>().text = $"Wave count: {waveCount}";
}
}