using UnityEngine; using UnityEngine.UI; namespace UIWidgets { /// /// DialogButtonComponent. /// Control how button name will be displayed. /// public class DialogButtonComponent : MonoBehaviour { /// /// The name. /// [SerializeField] public Text Name; /// /// Sets the button name. /// /// Name. public virtual void SetButtonName(string name) { Name.text = name; } } }