Next: Key Toggle, Previous: Deployer, Up: Interaction [Contents][Index]
This component allows the user to change the text of a 3D text object. This can be a fun way to add user-defined labels to your game. To use, add to an object with a TextMesh component on itself or one of it’s children.
Rect
guiAreaNormalized viewport rectangle indicating the area for the optional legacy Unity GUI for editing the text
Default value: new Rect(.3f, .3f, .3f, .3f)
int
windowIDUnique identifier for this GUI window
Default value: 875439
bool
showWindowShould we show the legacy Unity GUI?
Default value: false
Changes the text to what ever you like
Argument: The new text you would like to display
Store the text value in Player Prefs under ’Unique Text Key’, which indicates the file the string is saved in
Load the text value from Player Prefs using ’Unique Text Key’, which uniquely identifies the text file for this object
Rect
guiAreaNormalized viewport rectangle indicating the area for the optional legacy Unity GUI for editing the text
Default value: new Rect(.3f, .3f, .3f, .3f)
int
windowIDUnique identifier for this GUI window
Default value: 875439
bool
showWindowShould we show the legacy Unity GUI?
Default value: false
Changes the text to what ever you like
Argument: The new text you would like to display
Store the text value in Player Prefs under ’Unique Text Key’, which indicates the file the string is saved in
Load the text value from Player Prefs using ’Unique Text Key’, which uniquely identifies the text file for this object
Next: Key Toggle, Previous: Deployer, Up: Interaction [Contents][Index]