Class TAB_Button
- Namespace
- Zorro.UI
- Assembly
- Zorro.UI.Runtime.dll
[DefaultExecutionOrder(-100)]
public class TAB_Button : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler
- Inheritance
-
TAB_Button
- Implements
-
IPointerEnterHandler
IPointerExitHandler
IEventSystemHandler
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
Fields
public Graphic background
Field Value
- Graphic
Field Value
- bool
Field Value
- bool
text
public TextMeshProUGUI text
Field Value
- TextMeshProUGUI
Properties
public bool Selected { get; protected set; }
Property Value
- bool
Methods
public virtual void ButtonClicked()
public virtual void OnHover()
public void OnPointerEnter(PointerEventData eventData)
Parameters
eventData
PointerEventData
public void OnPointerExit(PointerEventData eventData)
Parameters
eventData
PointerEventData
protected virtual void UpdateSelection()