Documentation

Unity Engine

Unity Engine

TextValueField<TValueType>

Base class for text fields.
Read time 9 minutesLast updated a month ago

Definition

public abstract class TextValueField<TValueType> : TextInputBaseField<TValueType>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<TValueType>, IMixedValueSupport, IValueField<TValueType>

Properties

Property

Description

formatStringThe format string used to define how numeric values are displayed. The string follows standard .NET formatting conventions.
supportExpressionsIndicates whether the field supports expressions that can be evaluated into a value.

Methods

Method

Description

AddLabelDraggerMethod used to add a mouse dragger on the label for specific numeric fields.
ApplyInputDeviceDeltaApplies the values of a 3D delta and a speed from an input device.
ClearValueClears the input field value, reverting to the default state. Placeholder text will be shown if it is set.
SetValueWithoutNotifyAllow to set the value without being notified.
StartDraggingIndicates the user started the mouse dragging for text selection.
StopDraggingIndicates the user stopped the mouse dragging for text selection.

Classes

Class

Description

TextValueField<TValueType>.TextValueInputThis is the inner representation of the Text input.

Inheritance

Inherited Members