ドキュメント

Unity Engine

Unity Engine

Switch

In the player on Nintendo Switch.
読み終わるまでの所要時間 1 分最終更新 19日前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Switch = 32

Remarks

Examples

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