In the player on the Playstation 5.
See Also: RuntimePlatform, Platform dependent Compilation..
using UnityEngine;
public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.PS5) { Debug.Log("Do something special here!"); } } }