Better Way to Make Unity Text Paragraphs

so I want to make a game with a bunch of questions, these questions will be randomly picked out from an array, then the questions will be displayed on the screen. I thought the best way to do this would be with a gui text, so i typed up a code and got things working.

or that is until i had a problem

I thought to myself, “this is going on mobile so the screen won’t be very big” i look and my gui text is just one line, i checked it out in the inspector and there’s no way that can see to change that.

I’m not going to be able to fit all of the questions on one line of text (especially if the player plays the game in non-landscape mode), so…

Am i going to have to write a code that will parse through my strings and split it up between a couple of gui texts…

or is there some nice easy way to do this. I don’t want to do all that work if there’s an easier way to do it.

thanks

Use OnGUI code such as GUI.Label, which has automatic word wrap.

I think Eric5h5’s answer probably makes the most sense for your problem, but in case you still want to split up the text into individual objects, here’s a great thread on that.