Unity supports Arabic

Does Arabic script support unity in the InputField or even in GUI texts? I mean, if I want to write Arabic characters in an InputField, does unity support this?

+5
source share
3 answers

This is necessary if you save the script with UTF-8 encoding. Then you must include all characters in Unicode.

0
source

short answer: unity does not support Arabic or Persian, although there are a bunch of plugins in the asset repository that can buy you several times. You can easily find them.

0
source

There is a free library to support Arabic in Unity. You can download it here.

This is part of the readme file. Just add the library and use one of the GUIText or 3DText subfiles.

  • To use the Unity Arabic support resource inside a script, use: using ArabicSupport;
  • After using the using statement, use the following method (returns a string): ArabicFixer.Fix (textToBeFixed);
  • And you're done! You can use an alternative: ArabicFixer (string, tashkeel, hindoNumbers) for additional settings.
0
source

Source: https://habr.com/ru/post/1238703/


All Articles