UNITY判断当前语言环境是否是中文
public static bool IsChinese(){
bool isZh = true;
string languageStr = Application.systemLanguage.ToString();
if (languageStr.CompareTo("ChineseSimplified") == 0
|| languageStr.CompareTo("ChineseTraditional") == 0
|| languageStr.CompareTo("Chinese") == 0)
{
isZh = true;
}
else
{
isZh = false;
}
return isZh;
}
亲测IOS有效,Android未测试