Version: 2021.1

描述

斯洛维尼亚语。

using UnityEngine;

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