Version: 2023.1

描述

瑞典语。

using UnityEngine;

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