Table of Contents

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

TAB_Button()

public TAB_Button()

Fields

background

public Graphic background

Field Value

Graphic

hoveredOn

protected bool hoveredOn

Field Value

bool

selected

protected bool selected

Field Value

bool

text

public TextMeshProUGUI text

Field Value

TextMeshProUGUI

Properties

Selected

public bool Selected { get; protected set; }

Property Value

bool

Methods

ButtonClicked()

public virtual void ButtonClicked()

Deslect()

public void Deslect()

OnHover()

public virtual void OnHover()

OnPointerEnter(PointerEventData)

public void OnPointerEnter(PointerEventData eventData)

Parameters

eventData PointerEventData

OnPointerExit(PointerEventData)

public void OnPointerExit(PointerEventData eventData)

Parameters

eventData PointerEventData

Select()

public void Select()

UpdateSelection()

protected virtual void UpdateSelection()