Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RuntimePlatform.PS4

Description

In the player on the Playstation 4.

using UnityEngine;

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