I am using Textmesh pro in Unity, and word wrapping is breaking the word WI-FI in two lines, like this:
WI-
FI
How force Textmesh pro to treat it like a single word, so it wont be split in two lines?
I am using Textmesh pro in Unity, and word wrapping is breaking the word WI-FI in two lines, like this:
WI-
FI
How force Textmesh pro to treat it like a single word, so it wont be split in two lines?
Use a non-breaking hyphen which is Unicode \u2011.
The normal hyphen is defined as a line breaking characters whereas the non-breaking hyphen is not.