Version: 2020.1

SystemLanguage.ChineseTraditional

切换到手册

描述

繁体中文。

using UnityEngine;

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