阿拉伯语输入字段统一 [英] Arabic input fields in unity
问题描述
是否可以将输入字段的语言统一更改为阿拉伯语?我尝试了ArabicSupport并正确显示了阿拉伯语,但是将其与输入字段一起使用不起作用,因为
Is there is a way to change the language of input fields in unity to Arabic?. I tried ArabicSupport and it displayed Arabic correctly but using it with input fields didn't work because
GameObject.Find("input_field")
.GetComponent<InputField>().text = Fix3dTextCS.fix(
GameObject.Find("input_field").GetComponent<InputField>().text
);
导致错误,因此,如果我将输入文本打印到其他地方,它将正确显示,但是如何在相同的输入字段中完成输入呢?
caused an error so, if I printed the input text elsewhere, it will appear correctly but how can I do it with the same input field?
推荐答案
输入字段在使用阿拉伯语支持时会有些棘手
input field is a little bit tricky to let it work with Arabic Support
请尝试使用此开源资产,它具有用于阿拉伯语输入的预制件字段和其他一些用户界面.
please try this opensource asset it has an prefab for Arabic Input Field and some other UIs.
-
阿拉伯文支持解决方案的开源链接
统一资产UI阿拉伯语的OpenSource支持:链接
OpenSource for unity asset UI Arabic Support: Link
这篇关于阿拉伯语输入字段统一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!