Version: 2020.3

描述

拉脱维亚语。

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