Class TagField
A TagField editor.
Inheritance
TagField
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class TagField : PopupField<string>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IBindable, INotifyValueChanged<string>, IMixedValueSupport
Constructors
TagField()
Initializes and returns an instance of CurveField.
Declaration
public TagField()
TagField(String, String)
Initializes and returns an instance of CurveField.
Declaration
public TagField(string label, string defaultValue = null)
Parameters
Type | Name | Description |
---|---|---|
String | label | The text to use as a label for the field. |
String | defaultValue | The initial tag value this field should use. |
Fields
inputUssClassName
USS class name of input elements in elements of this type.
Declaration
public static readonly string inputUssClassName
Field Value
Type | Description |
---|---|
String |
labelUssClassName
USS class name of labels in elements of this type.
Declaration
public static readonly string labelUssClassName
Field Value
Type | Description |
---|---|
String |
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |
Properties
formatListItemCallback
Unsupported.
Declaration
public override Func<string, string> formatListItemCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<String, String> |
Overrides
UnityEditor.UIElements.PopupField<System.String>.formatListItemCallback
formatSelectedValueCallback
Unsupported.
Declaration
public override Func<string, string> formatSelectedValueCallback { get; set; }
Property Value
Type | Description |
---|---|
Func<String, String> |
Overrides
UnityEditor.UIElements.PopupField<System.String>.formatSelectedValueCallback
value
Declaration
public override string value { get; set; }
Property Value
Type | Description |
---|---|
String |
Overrides
UnityEditor.UIElements.PopupField<System.String>.value
Methods
SetValueWithoutNotify(String)
Declaration
public override void SetValueWithoutNotify(string newValue)
Parameters
Type | Name | Description |
---|---|---|
String | newValue |
Overrides
UnityEditor.UIElements.PopupField<System.String>.SetValueWithoutNotify(System.String)