Class TMP_Dropdown.DropdownItem
Inheritance
TMP_Dropdown.DropdownItem
Namespace: TMPro
Syntax
protected class DropdownItem : MonoBehaviour, IPointerEnterHandler, ICancelHandler
Properties
image
Declaration
public Image image { get; set; }
Property Value
Declaration
public RectTransform rectTransform { get; set; }
Property Value
Type |
Description |
RectTransform |
|
text
Declaration
public TMP_Text text { get; set; }
Property Value
toggle
Declaration
public Toggle toggle { get; set; }
Property Value
Methods
OnCancel(BaseEventData)
Declaration
public virtual void OnCancel(BaseEventData eventData)
Parameters
Type |
Name |
Description |
BaseEventData |
eventData |
|
OnPointerEnter(PointerEventData)
Declaration
public virtual void OnPointerEnter(PointerEventData eventData)
Parameters
Type |
Name |
Description |
PointerEventData |
eventData |
|