Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SystemLanguage.Chinese

Description

Chinese.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { //This checks if your computer's operating system is in the Chinese language if (Application.systemLanguage == SystemLanguage.Chinese) { //Outputs into console that the system is in Chinese Debug.Log("This system is in Chinese. "); } } }

Did you find this page useful? Please give it a rating: