天津23维预案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
499 B

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