17 lines
268 B
C#
17 lines
268 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;}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|