20 lines
517 B
C#
20 lines
517 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace BrewMonster
|
|
{
|
|
public class HUDNPC : MonoBehaviour
|
|
{
|
|
[SerializeField] private TextMeshProUGUI _healthText;
|
|
[SerializeField] private TextMeshProUGUI _nameText;
|
|
[SerializeField] private TextMeshProUGUI _statText;
|
|
|
|
public void SetText(string healthText, string nameText, string statText)
|
|
{
|
|
_healthText.text = healthText;
|
|
_nameText.text = nameText;
|
|
_statText.text = statText;
|
|
}
|
|
}
|
|
}
|