Version: 2020.2

描述

中文。

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