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