mirror of
https://github.com/ConjureETS/Unity_Utils.git
synced 2026-03-23 20:40:58 +00:00
test Adding a new file
This commit is contained in:
parent
4db6b2fc9d
commit
58d9a65050
15
UI/Components/DoubleText.cs
Normal file
15
UI/Components/DoubleText.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user