hi
i am using the trial version of unity and want to use it for a persian MMO.
i want to type in farsi (persian) characters in textbox fields in unity editor for 3D text mesh or … but it shows me nothing or sometimes a dot.
i did not change the font of anything.
i used scripts to change the text to farsi but did not work.
what can i do to write farsi text in unity’s editor and use it in scripts and GUI?
did anyone used japanese, chinese or arabic or russian or any other unicode language with unity
You need a font with Farsi characters, and you have to import it as Unicode rather than ASCII. And scripts with text in them have to be saved as UTF-8 of course.
The downside is that fonts have to be pre-rendered as textures rather than on the fly, and considering that many graphics cards have a limit of 2048x2048 per texture, that means that it’s difficult to support fonts with large character sets (like Japanese), because you’re stuck with quite small point sizes in order to fit everything in that 2048x2048 space.
Presumably emadgh already answered, but just in case: It uses whatever font you tell it to use. It wouldn’t be very useful if you were always stuck with one font only.
we found a solution and we made a class library with mono for it. it’s not possible to write text in arabic or farsi or any other right to left complex script language in unity