TextValueField<TValueType>.TextValueInput
This is the inner representation of the Text input.
Read time 6 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: TextInputBaseField<T>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
protected abstract class TextValueField<TValueType>.TextValueInput : TextInputBaseField<TValueType>.TextInputBase, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
Properties
Property | Description |
|---|---|
| allowedCharacters | Method to override to indicate the allowed characters in the actual field. |
| formatString | Formats the string. |
Methods
Method | Description |
|---|---|
| ApplyInputDeviceDelta | Called when the user is dragging the label to update the value contained in the field. |
| StartDragging | Method called by the application when the label of the field is started to be dragged to change the value of it. |
| StopDragging | Method called by the application when the label of the field is stopped to be dragged to change the value of it. |
| StringToValue | Converts a string to a value type. |
| ValueToString | Convert the value to string for visual representation. |