Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
tk2dTextMesh new paragraph in script
« previous
next »
Print
Pages: [
1
]
Author
Topic: tk2dTextMesh new paragraph in script (Read 4057 times)
FootprintGames
2D Toolkit
Newbie
Posts: 13
tk2dTextMesh new paragraph in script
«
on:
May 05, 2014, 08:50:48 am »
I'm using alt+Enter on Inspector but "\n" is not working in script.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: tk2dTextMesh new paragraph in script
«
Reply #1 on:
May 05, 2014, 02:12:16 pm »
\n definitely works in a script, the text mesh detects the \n character, so as long as its in there it will work. Run through your string in the debugger to work out what character is in there.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
tk2dTextMesh new paragraph in script