Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BasePopupField<TValueType, TValueChoice>

This is the base class for all the popup field elements. TValue and TChoice can be different, see MaskField, or the same, see PopupField
Read time 7 minutesLast updated 5 days ago

Definition

public abstract class BasePopupField<TValueType, TValueChoice> : BaseField<TValueType>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<TValueType>, IMixedValueSupport

Static Fields

Value

Description

arrowUssClassNameUSS class name of arrow indicators in elements of this type.
inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
textUssClassNameUSS class name of text elements in elements of this type.
ussClassNameUSS class name of elements of this type.

Properties

Property

Description

choicesThe list of choices to display in the popup menu.
textThis is the text displayed to the user for the current selection of the popup.
textElementThis is the text displayed.

Methods

Method

Description

SetValueWithoutNotifyAllow changing value without triggering any change event.

Inheritance

Inherited Members