Hi,
I have a text box displaying text in my game, problem is when the user clicks on the text, it brings up the keyboard and then they can edit the text, how can I disable this?
Hi,
I have a text box displaying text in my game, problem is when the user clicks on the text, it brings up the keyboard and then they can edit the text, how can I disable this?
For your text, use Gui.Label or GUI.Box, NOT GUI.TextField OR GUI.TextArea.
![]()
textToDisplay = GUI.Box (Rect (45, 30, 240, 200), myText, myStyle);
but the old way does:
textToDisplay = GUI.TextArea (Rect (45, 30, 240, 200), myText, myStyle);
“textToDisplay =” why?
type Just :
GUI.Box (Rect (45, 30, 240, 200), myText, myStyle);
if you put “textToDisplay =” the text will be editable, just delete it, it is useless