- Home /
c# add/move lines of text in GUI box
i have a gui box i make it big but i can only add one line of text at the top of box how am i to add more lines of text to this.
GUI.Box (new Rect (445,65,300,230),"Menu");
if theirs no way should i just do this a bunch of time over a box
GUI.Label(new Rect (450,110,290,25),"text"); (1 per line is the only way it'll be a lot of guis )
Comment
Best Answer
Answer by robertbu · Oct 07, 2013 at 04:08 AM
You can separate each line in the string by a newline:
GUI.Box (new Rect (445,65,300,230),"Menu\nOne\nTwo\nThree");
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
I can't drag a GUIText into Public GUIText box! HELP! 0 Answers
c# Quit button wont quit game 1 Answer
Creation of checkbox next to text 1 Answer
Changing 3d text through script 1 Answer