Files
Gen_Hack-and-Slash-Roguelite/Client/Assets/Scripts/Prefab/TextPrefab.cs

16 lines
256 B
C#

using TMPro;
using UnityEngine;
namespace Prefab
{
public class TextPrefab : MonoBehaviour
{
public TMP_Text text;
public string Label
{
get => text.text;
set => text.text = value;
}
}
}