Class Flyout
- Namespace
- UnityEngine.UI
- Assembly
- Assembly-CSharp.dll
public class Flyout : TMP_Dropdown, ISelectionStateEventProvider
- Inheritance
-
Flyout
- Implements
-
- Extension Methods
-
Constructors
Flyout()
Fields
AlphaHitTestThreshold
public float AlphaHitTestThreshold
Field Value
- float
FlyoutClosedMessage
public SelectedDiscoverableMessage FlyoutClosedMessage
Field Value
- SelectedDiscoverableMessage
FlyoutOpenedMessage
public SelectedDiscoverableMessage FlyoutOpenedMessage
Field Value
- SelectedDiscoverableMessage
IsOpen
public UnityEvent<bool> IsOpen
Field Value
- UnityEvent<bool>
PublishMessages
public bool PublishMessages
Field Value
- bool
onStateTransition
public SelectionStateEvent onStateTransition
Field Value
- SelectionStateEvent
Properties
CurrentSelectionState
public SelectionState CurrentSelectionState { get; }
Property Value
- SelectionState
OnStateTransition
public SelectionStateEvent OnStateTransition { get; }
Property Value
- SelectionStateEvent
TargetGraphic
public Graphic TargetGraphic { get; }
Property Value
- Graphic
Methods
Awake()
protected override void Awake()
CreateDropdownList(GameObject)
protected override GameObject CreateDropdownList(GameObject template)
Parameters
template GameObject
Returns
- GameObject
DestroyDropdownList(GameObject)
protected override void DestroyDropdownList(GameObject obj)
Parameters
obj GameObject
DoStateTransition(SelectionState, bool)
protected override void DoStateTransition(Selectable.SelectionState state, bool instant)
Parameters
state SelectionState
instant bool
OnEnable()
protected override void OnEnable()
OnPointerEnter(PointerEventData)
public override void OnPointerEnter(PointerEventData eventData)
Parameters
eventData PointerEventData
OnPointerExit(PointerEventData)
public override void OnPointerExit(PointerEventData eventData)
Parameters
eventData PointerEventData