Version: 2022.3

描述

丹麦语。

using UnityEngine;

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