Component:TouchableTextField

From Resonite Wiki
Revision as of 23:28, 12 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. Added a description, added field descriptions, added a usage description.)
Component image 
Touchable Text Field component as seen in the Scene Inspector


The TouchableTextField component, similar to a TextField for UIX, this component when combined with a TextEditor on the same slot, will allow any text in the world to be clicked on to make it become editable.

This allows the text to be edited in both directions: In the component and in the world directly.

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.
TextEditor TextEditor The TextField to allow for bi-directional editing.
AcceptOutOfSightTouch Bool Allows the user to click and edit while not looking directly at the editable text.
AcceptPhysicalTouch Bool Allows a user to physically touch on the text.
AcceptRemoteTouch Bool Allows a user to click on the text with the laser.
EditModeOnly Bool Allows for the user to only edit this text in Edit Mode.
ActiveUserRootOnly Bool Allows to only be editable when under the active user.

Usage

Great for when you don't want to be bound by UIX to make editable texts.

Examples

Related Components