mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
11 lines
243 B
C#
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}";
|
|
}
|
|
}
|