Class BaseMaskField<TChoice>
Base class implementing the shared functionality for editing bit mask values.
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public abstract class BaseMaskField<TChoice> : BasePopupField<TChoice, string>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, INotifyValueChanged<TChoice>, IMixedValueSupport
Type Parameters
Name | Description |
---|---|
TChoice |
Properties
choices
The list of choices to display in the popup menu.
Declaration
public override List<string> choices { get; set; }
Property Value
Type | Description |
---|---|
List<String> |
Overrides
UnityEditor.UIElements.BasePopupField<TChoice, System.String>.choices
choicesMasks
The list of list of masks for every specific choice to display in the popup menu.
Declaration
public virtual List<int> choicesMasks { get; set; }
Property Value
Type | Description |
---|---|
List<Int32> |
Methods
SetValueWithoutNotify(TChoice)
Declaration
public override void SetValueWithoutNotify(TChoice newValue)
Parameters
Type | Name | Description |
---|---|---|
TChoice | newValue |
Overrides
UnityEditor.UIElements.BasePopupField<TChoice, System.String>.SetValueWithoutNotify(TChoice)