C# Class UnityCommonLibrary.UI.Selector

Inheritance: UnityEngine.UI.Selectable, IPointerClickHandler
Exibir arquivo Open project: thebeardphantom/UnityCommonLibrary

Public Properties

Property Type Description
label UnityEngine.UI.Text
options List
selected int
wrapAround bool

Public Methods

Method Description
FindSelectableOnLeft ( ) : Selectable
FindSelectableOnRight ( ) : Selectable
OnPointerClick ( PointerEventData eventData ) : void

Protected Methods

Method Description
OnValidate ( ) : void
Reset ( ) : void
Start ( ) : void

Private Methods

Method Description
CheckSelected ( ) : void
SetLabel ( ) : void
Update ( ) : void

Method Details

FindSelectableOnLeft() public method

public FindSelectableOnLeft ( ) : Selectable
return UnityEngine.UI.Selectable

FindSelectableOnRight() public method

public FindSelectableOnRight ( ) : Selectable
return UnityEngine.UI.Selectable

OnPointerClick() public method

public OnPointerClick ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

OnValidate() protected method

protected OnValidate ( ) : void
return void

Reset() protected method

protected Reset ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

label public_oe property

public Text,UnityEngine.UI label
return UnityEngine.UI.Text

options public_oe property

public List options
return List

selected public_oe property

public int selected
return int

wrapAround public_oe property

public bool wrapAround
return bool