using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System;
namespace UIWidgets {
///
/// TabIconButton.
///
public class TabIconButton : TabButton {
///
/// The name.
///
[SerializeField]
public Text Name;
///
/// The icon.
///
[SerializeField]
public Image Icon;
///
/// The size of the set native.
///
[SerializeField]
public bool SetNativeSize;
///
/// Sets the data.
///
/// Tab.
public virtual void SetData(TabIcons tab)
{
Name.text = tab.Name;
}
}
}