mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
14 lines
325 B
C#
14 lines
325 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace UnityAtoms.Examples
|
|
{
|
|
/// <summary>
|
|
/// Sets the text for the Wave count UI.
|
|
/// </summary>
|
|
public class WaveCountText : MonoBehaviour
|
|
{
|
|
public void AdjustText(int waveCount) => GetComponent<Text>().text = $"Wave count: {waveCount}";
|
|
}
|
|
}
|