Component:IntTextEditorParser

From Resonite Wiki
Revision as of 22:58, 12 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. Moved old description to usage description, gave the page a new description, added field descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Component image 
Int Text Editor Parser component as seen in the Scene Inspector


The IntTextEditorParser 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.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
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.
ParsedValue Int The value that was read from the text field.
Min Int The minimum value that can be read.
Max Int The maximum value that can be read.
Increments Int The output value will round down to the nearest increment multiple of this value.
StringFormat String Lets you format the string for the text output.

Usage

Place on the same Slot as a TextEditor and anything entered into the text editor will be attempted to be parsed as a Int and output via the ParsedValue field.

Examples

Related Components