SystemLanguage.SerboCroatian

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

SystemLanguage.SerboCroatian

Описание

сербско-хорватский.

using UnityEngine;

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

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