Version: 2023.1

描述

日语。

using UnityEngine;

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