16 lines
371 B
C#
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;
|
|
}
|
|
}
|
|
}
|