Version: 2020.1

描述

德语。

using UnityEngine;

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