기술 자료

Unity Engine

Unity Engine

Chinese

Indicates that the operating system's language is Chinese.
읽는 시간 1분최근 업데이트: 한 달 전

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