I tried to set multiline text to a TextMesh, but nothing happened.
TextMesh textMesh = GetComponent<TextMesh>();
textMesh.text = "Hello
World!";
Can TexhMesh support multiline? Is there any way to solve it?
Thank you.
EDIT:
Thanks for the spell checking
The actually thing I did is a little complicated.
I load a csv file from internet (Google Drive), and parse it into json files for localization. After I found the newline symbol is missing and can’t make a newline in Unity3D editor, thought the TextMesh don’t support multiline text. I know I was wrong now. The problem is in the parse.
Is there anyway to close this question, or should I delete it?