|ParseContinuously|Bool| If true, makes the value always update and parse. If false, it only updates when submitted.
|ParseContinuously|Bool| If true, makes the value always update and parse. If false, it only updates when submitted.
|UpdateStringFromValue|Bool| If true, will update the string value from this parsed value.
|UpdateStringFromValue|Bool| If true, will update the string value from this parsed value.
|ParsedValue|'''T'''|TypeAdv2=true| The value that was read from the text field.
|ParsedValue|Double| The value that was read from the text field.
|MinValue|'''T'''|TypeAdv3=true| The minimum value that can be read.
|MinValue|Double| The minimum value that can be read.
|MaxValue|'''T'''|TypeAdv4=true| The maximum value that can be read.
|MaxValue|Double| The maximum value that can be read.
|IgnoreOutOfRange|Bool| Ignores any value that is out of range from the min and max.
|IgnoreOutOfRange|Bool| Ignores any value that is out of range from the min and max.
|DefaultUnit|String| Changes the default unit to show in the text (especially if the <code>FormatUnit</code> is incorrect).
|DefaultUnit|String| Changes the default unit to show in the text (especially if the <code>FormatUnit</code> is incorrect).
Line 31:
Line 31:
== See Also ==
== See Also ==
[[Category:Components:Common UI:Editors{{#translation:}}|Quantity Text Editor Parser`2]]
[[Category:Components:Common UI:Editors{{#translation:}}|Quantity Text Editor Parser`1]]
[[Category:Components{{#translation:}}|Quantity Text Editor Parser`2]]
[[Category:Components{{#translation:}}|Quantity Text Editor Parser`1]]
[[Category:Generic Components{{#translation:}}|Quantity Text Editor Parser`2]]
[[Category:Generic Components{{#translation:}}|Quantity Text Editor Parser`1]]
Revision as of 06:32, 17 March 2025
Component image
Quantity Text Editor Parser`1 component as seen in the Scene Inspector
The QuantityTextEditorParser component takes in a ParsedValue and if there is a TextEditor on the same slot, it will send the value through the text editor and into either a Text or a TextRenderer component.
Place on the same Slot as a TextEditor and anything entered into the text editor will be attempted to be parsed as a quantity and output via the ParsedValue field.