Files
peng-zhihui 06ec2e469e Released.
2022-03-13 06:31:07 +08:00

29 lines
572 B
C#

namespace UIWidgets
{
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Tab component.
/// </summary>
public class TabButtonComponent : TabButtonComponentBase
{
/// <summary>
/// The name.
/// </summary>
[SerializeField]
[HideInInspector]
[System.Obsolete("Replaced with NameAdapter.")]
public Text Name;
/// <summary>
/// Upgrade this instance.
/// </summary>
public override void Upgrade()
{
#pragma warning disable 0612, 0618
Utilities.GetOrAddComponent(Name, ref NameAdapter);
#pragma warning restore 0612, 0618
}
}
}