test Adding a new file

This commit is contained in:
Martin Johnson 2020-05-18 16:02:52 -04:00
parent 4db6b2fc9d
commit 58d9a65050

View File

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