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.
21 lines
477 B
21 lines
477 B
2 years ago
|
using UnityEngine;
|
||
|
|
||
|
namespace UIWidgets
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// TabsIcons.
|
||
|
/// </summary>
|
||
|
[AddComponentMenu("UI/UIWidgets/TabsIcons")]
|
||
|
public class TabsIcons : TabsCustom<TabIcons,TabIconButton>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Sets the name of the button.
|
||
|
/// </summary>
|
||
|
/// <param name="button">Button.</param>
|
||
|
/// <param name="index">Index.</param>
|
||
|
protected override void SetButtonData(TabIconButton button, int index)
|
||
|
{
|
||
|
button.SetData(TabObjects[index]);
|
||
|
}
|
||
|
}
|
||
|
}
|