Documentation

Unity Engine


Unity Engine


Vector2Field

A Vector2 field. For more information, refer to UXML element Vector2Field.
Read time 9 minutesLast updated 12 hours ago

Definition

[Icon("UIToolkit/Icons/Vector2Field.png")][UxmlElement(libraryPath = "Numeric Fields")]public class Vector2Field : BaseCompositeField<Vector2, FloatField, float>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<Vector2>

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

Constructor

Description

Vector2Field()Initializes and returns an instance of Vector2Field.
Vector2Field(System.String)Initializes and returns an instance of Vector2Field.

Inheritance

Inherited Members