文档

Unity Engine

Unity Engine

MaskField

The MaskField is an Editor-only control that lets users select one or more options from a list of options. For more information, refer to UXML element MaskField.
阅读时间8 分钟最后更新于 1 个月前

Definition

[Icon("UIToolkit/Icons/MaskField.png")]public class MaskField : BaseMaskField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<int>, IMixedValueSupport

Static Fields

Value

Description

inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Properties

Property

Description

formatListItemCallbackCallback that provides a string representation used to populate the popup menu.
formatSelectedValueCallbackCallback that provides a string representation used to display the selected value.

Inheritance

Inherited Members