Adding spaces/"enters" into a string via inspector

Does anyone know if there is a way to add enters/returns or whatever they are called into a string via the inspector? I know in previous experience with strings, you can have a sting like:

"Hello " + /n + “Goodbye”

However, is there a way you can do that with the inspector? Or do i have to manually script this in?

My goal is to make some gui text look neater.

Btw, i use C#.

You can do this by typing alt+enter on the keyboard (although the single line edit field is not great for this, it does work).

Hmm, that didnt seem to do anything. When i pushed alt the “eye” icon at the top left of the screen showed up, the same icon that shows up when i push the right button on the mouse. Is there another way to add an “enter” into a string via the inspector?

The only reliable way I’ve found is to type out what you want in notepad or something, then copy/paste it into the inspector field.

\n is the code for next line, if that’s what you mean by “enter”

I know \n is the code for the next line, but my question is whether i can put that “\n” via the inspector so i have a nicer looking GUI.

Any answers, anyone?

Yes, holding alt makes the eye icon show up, but it doesn’t matter since alt-return still creates line breaks in text strings regardless. If it’s not working for you, file a bug report.

–Eric

Would having Unity 3.0 be a problem? Because i also have an editor problem where when i press right mouse button +wsad, i can move side to side, but not forwards or backwards. Could these probelms be related?

Unity 3 isn’t a problem, and right button + WASD works fine here.

–Eric

Hmmm, so… is there a way to fix these problems? (Mostly the alt+enter)

File a bug report.

–Eric