Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Chinese

Indicates that the operating system's language is Chinese.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Chinese = 6

Examples

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. "); } }}