Version: 2020.2

描述

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!"); } } }