This version of Unity is unsupported.

RuntimePlatform.PS5

Description

In the player on the Playstation 5.

using UnityEngine;

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