Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: logic.cpp on April 17, 2013, 06:06:12 AM
-
tl;dr: '\' + 'n' == '\n'. Please fix.
An input field converts '\' followed by 'n' to a line break '\n'.
This works even in-game as the player types!
Can this be fixed so that player can type '\' followed by 'n' and it will render as the user would expect.
In code that should result in "\\n".
Thanks!
-
Hmm... that's a bug, thanks.
-
Uh, actually - I should probably just turn off "Encoding" for an input, as you suggest here http://www.tasharen.com/?page_id=166
-
I was about to post that then tried it myself, and typing '\' followed by 'n' does create a new line. Not sure if it's due to my local changes that were a part of the upcoming version or not, but I've fixed it locally in any case.