Files
test/Assets/PerfectWorld/Scripts/UI/GamePlay/UINPC.cs
T
2025-10-23 17:33:12 +07:00

16 lines
371 B
C#

using TMPro;
using UnityEngine;
namespace BrewMonster
{
public class UINPC : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _nameText;
// Start is called once before the first execution of Update after the MonoBehaviour is created
public void SetName(string name)
{
_nameText.text = name;
}
}
}