How to get \n and \t working in UXML?

When I was making long GUIContent.tooltip that requires several paragraphs, \n works.

But in UXML while I can type \n just fine it is displayed literally \n. How to get new line and tabs?

Hi!
This is one of those things where the UI Builder helps a lot, since you must use the ASCII code for them.
For a new line, it should be and for a tab, it should be .

Hope that helps!

1 Like