GUIText line break in script?

Hi,

How is it possible to add a line break to a guitext object from within a script?

Thanks in advance…

edit-----

and generally other stuff like tabs etc etc if possible(?)

not realy har to do, u can use this

guiText.text = " hi 

this is new line…!!";

"
" means new line

Sorry for the necropost but I ran into this recently and wanted to share a simple solution that will allow you to use the new line escape sequence (backslash + n) in text set via the editor.

Unity seems to escape any backslashes entered in the editor, but all you need to do to get around this is unescape the leading backslash, like so:

void Start () {
	guiText.text = guiText.text.Replace ("\

", "
");
}

How does this work with the simple Text Component and a string variable assigend in the inspector?

string someText="Hi

New Line";
someTextComp.text=someText;
This doesn´t seam to work…