11 lines
243 B
C#
Raw Normal View History

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