Version: 2022.3

描述

葡萄牙语。

using UnityEngine;

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