Version: 2022.3

描述

西班牙语。

using UnityEngine;

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