LongField
Makes a text field for entering long integers. For more information, refer to UXML element LongField.
Read time 11 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: TextValueField<long>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<long>, IValueField<long>
[Icon("UIToolkit/Icons/LongField.png")][UxmlElement(libraryPath = "Numeric Fields")]public class LongField : TextValueField<long>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<long>, IValueField<long>
Static Fields
Value | Description |
|---|---|
| inputUssClassName | USS class name of input elements in elements of this type. |
| labelUssClassName | USS class name of labels in elements of this type. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| LongField() | Constructor. |
| LongField(System.Int32) | Constructor. |
| LongField(System.String,System.Int32) | Constructor. |
Methods
Method | Description |
|---|---|
| ApplyInputDeviceDelta | Applies the values of a 3D delta and a speed from an input device. |
| StringToValue | Converts a string to a long integer. |
| ValueToString | Converts the given long integer to a string. |