文档

Unity Engine

Unity Engine

Switch

In the player on Nintendo Switch.
阅读时间1 分钟最后更新于 6 小时前

Definition

Switch = 32

Remarks

Examples

using UnityEngine;public class ExampleClass : MonoBehaviour{ void Example() { if (Application.platform == RuntimePlatform.Switch) Debug.Log("Do something special here!"); }}