Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IntegerField

Makes a text field for entering an integer. For more information, refer to UXML element LongField.
Read time 8 minutesLast updated 2 days ago

Definition

public class IntegerField : TextValueField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<int>, IMixedValueSupport, IValueField<int>

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

IntegerField()Constructor.
IntegerField(System.Int32)Constructor.
IntegerField(System.String,System.Int32)Constructor.

Methods

Method

Description

ApplyInputDeviceDeltaApplies the values of a 3D delta and a speed from an input device.
StringToValueConverts a string to an integer.
ValueToStringConverts the given integer to a string.

Inheritance

Inherited Members