SystemLanguage.Latvian

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

SystemLanguage.Latvian

Описание

латышский язык.

using UnityEngine;

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

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