using UnityEngine; using UnityEngine.UI; namespace UIWidgets { /// /// Tab component. /// public class TabButtonComponent : MonoBehaviour { /// /// The name. /// [SerializeField] public Text Name; /// /// Sets the data. /// /// Tab. public virtual void SetButtonData(Tab tab) { Name.text = tab.Name; } } }