Talk:Textmeshextension

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
 
Thanks for sharing this, though you don't actually need to do this to get a new line in any text field in Unity, including the TextMesh component. Just press ALT+ENTER and then type away; boom new line! Also, if setting string from code, simply use the escape code for new line "\n" in the string itself; "Hi there,\nThis sentence is on a new line.". [http://min.us/i/WRzjQbfWwJb7 Click here for visual example] --[[User:Casemon|Joe @ ByDesign Games]] ([[User talk:Casemon|talk]]) 07:49, 25 March 2014 (CET)
 
Thanks for sharing this, though you don't actually need to do this to get a new line in any text field in Unity, including the TextMesh component. Just press ALT+ENTER and then type away; boom new line! Also, if setting string from code, simply use the escape code for new line "\n" in the string itself; "Hi there,\nThis sentence is on a new line.". [http://min.us/i/WRzjQbfWwJb7 Click here for visual example] --[[User:Casemon|Joe @ ByDesign Games]] ([[User talk:Casemon|talk]]) 07:49, 25 March 2014 (CET)
 +
 +
Hi Joe! This is very odd, a lot of people seem to be able to create new lines with shift+enter but that doesn't work for me and some other people. I don't know why, shift+enter works on other software and websites. So I still use this script when I don't want to set the string through script using \n.  If anyone figures out how to make shift+enter work on every computer this script can be put to rest :) --[[User:Diego Floor|Diego Floor]] ([[User talk:Diego Floor|talk]]) 22:53, 7 April 2014 (CEST)

Latest revision as of 20:53, 7 April 2014

Thanks for sharing this, though you don't actually need to do this to get a new line in any text field in Unity, including the TextMesh component. Just press ALT+ENTER and then type away; boom new line! Also, if setting string from code, simply use the escape code for new line "\n" in the string itself; "Hi there,\nThis sentence is on a new line.". Click here for visual example --Joe @ ByDesign Games (talk) 07:49, 25 March 2014 (CET)

Hi Joe! This is very odd, a lot of people seem to be able to create new lines with shift+enter but that doesn't work for me and some other people. I don't know why, shift+enter works on other software and websites. So I still use this script when I don't want to set the string through script using \n. If anyone figures out how to make shift+enter work on every computer this script can be put to rest :) --Diego Floor (talk) 22:53, 7 April 2014 (CEST)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox