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