SystemLanguage.Japanese

Unity · Версия 2020.3 LTS · Scripting · SystemLanguage

SystemLanguage.Japanese

Описание

Японский.

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

Обновлено 17 ноября 2026 г.