Class Dropdown.DropdownItem
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: UnityEngine.UI
Syntax
protected class DropdownItem : MonoBehaviour, IPointerEnterHandler, ICancelHandler, IEventSystemHandler
Properties
image
Declaration
public Image image { get; set; }
Property Value
Type | Description |
---|---|
Image |
rectTransform
Declaration
public RectTransform rectTransform { get; set; }
Property Value
Type | Description |
---|---|
RectTransform |
text
Declaration
public Text text { get; set; }
Property Value
Type | Description |
---|---|
Text |
toggle
Declaration
public Toggle toggle { get; set; }
Property Value
Type | Description |
---|---|
Toggle |
Methods
OnCancel(BaseEventData)
Declaration
public virtual void OnCancel(BaseEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
BaseEventData | eventData |
Implements
OnPointerEnter(PointerEventData)
Declaration
public virtual void OnPointerEnter(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData |