文档

Unity Engine

Unity Engine

locales

Indicates the language and region preferences set on the device in an array.
阅读时间1 分钟最后更新于 1 个月前

Definition

public AndroidLocale[] locales { get; }

Remarks

For example,
en-US
,
fr-FR
. The locale information can be accessed using the Android method getLocales().
Additional Resources: AndroidLocale