sea-battle-vr/Assets/Scripts/UI/Counters/NamedCounterTMP.cs

10 lines
235 B
C#

using TMPro;
namespace RR.UI
{
public class NamedCounterTMP : CounterTMP
{
[UnityEngine.SerializeField] protected TextMeshProUGUI nameLabel;
public void SetName(string name) => nameLabel.text = name;
}
}