The '''LegacyNumericUpDown''' component comes from Legacy migrated content. This component should not be used in new content, and should be removed when possible.
|_textEditor|'''[[Component:TextEditor|TextEditor]]'''|TypeAdv10=true| The text editor that allows for direct editing of the number this component is editing.
|_meshLeft|{{RootFieldType|DriveRef`1|[[Component:BevelStripeMesh|BevelStripeMesh]]}}|TypeAdv15=true| The mesh being used by this component's left button.
|_meshRight|{{RootFieldType|DriveRef`1|[[Component:BevelStripeMesh|BevelStripeMesh]]}}|TypeAdv16=true| The mesh being used by this component's right button.
|_textLeftBounds|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv17=true| The field to drive to make the left button stay wrapped around its text.
|_textRightBounds|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv18=true| The field to drive to make the right button stay wrapped around its text.
|DriveField|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv27=true| The field this component should drive with <code>Value</code>
|AllowWriteBack|Bool|
|AllowWriteBack|Bool| Whether changes to the value of the field targeted by <code>DriveField</code> should be written to this component's <code>Value</code> field instead.
|Value|Float|
|Value|Float| The value that this component currently has for the edited field.
|DecimalPoints|Int|
|DecimalPoints|Int| How many decimal places this component should keep track of.
|MinValue|Float|
|MinValue|Float| The minimum possible value for <code>Value</code>.
|MaxValue|Float|
|MaxValue|Float| The maximum possible value for <code>Value</code>.
|IncrementValue|Float|
|IncrementValue|Float| How much to increment or decrement <code>Value</code> by when pressing the left and right buttons.
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv35=true| The string field to drive with the current <code>Value</code> for the visuals.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|EditingStarted:[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| Called when the number field is focused into.
|EditingChanged:[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| Called when the number field is changed.
|EditingFinished:[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| Called when the number field has stopped being edited.
|OnLeftTouched:[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true| Called when the left button is touched.
|OnRightTouched:[[Type:TouchEvent|TouchEvent]]|[[Type:TouchEvent|TouchEvent]]|true| Called when the right button is touched.
}}
}}
== Behavior ==
== Usage ==
Just dont.
== Examples ==
== Examples ==
Found in legacy content.
== See Also ==
== See Also ==
Line 53:
Line 64:
[[Category:Components:UI:Physical{{#translation:}}|Legacy Numeric Up Down]]
[[Category:Components:UI:Physical{{#translation:}}|Legacy Numeric Up Down]]
[[Category:Components{{#translation:}}|Legacy Numeric Up Down]]
[[Category:Components{{#translation:}}|Legacy Numeric Up Down]]
[[Category:ComponentStubs]]
Latest revision as of 03:44, 7 April 2025
This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.
Component image
Legacy Numeric Up Down component as seen in the Scene Inspector
The LegacyNumericUpDown component comes from Legacy migrated content. This component should not be used in new content, and should be removed when possible.