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; } } }