Unity_Utils/UI/Components/DoubleText.cs
2020-05-18 16:02:52 -04:00

15 lines
272 B
C#

using TMPro;
using UnityEngine;
namespace Util.UiComponents
{
public class TextComponent : ComponentBase
{
[SerializeField] private TMP_Text text;
public void SetText(string newText)
{
text.text = newText;
}
}
}