RuntimePlatform.Switch
Описание
В плеере на Nintendo Switch.
Дополнительные ресурсы: RuntimePlatform, Компиляция в зависимости от платформы.
using UnityEngine;
public class ExampleClass : MonoBehaviour { void Example() { if (Application.platform == RuntimePlatform.Switch) Debug.Log("Do something special here!"); } }