统一的阿拉伯语输入字段 [英] 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 for unity asset UI Arabic Support: Link
这篇关于统一的阿拉伯语输入字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!