Version: 2022.1

描述

斯洛伐克语。

using UnityEngine;

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