Hello Guest

Author Topic: tk2dTextMesh new paragraph in script  (Read 3098 times)

FootprintGames

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
    • View Profile
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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
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.