mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 03:47:13 +08:00
17 lines
266 B
C#
17 lines
266 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace Prefab
|
|
{
|
|
public class TextPrefab : MonoBehaviour
|
|
{
|
|
public TMP_Text text;
|
|
|
|
public string Label
|
|
{
|
|
get { return text.text; }
|
|
set { text.text = value; }
|
|
}
|
|
|
|
}
|
|
} |