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