PS4
In the player on the PlayStation®4.
阅读时间1 分钟最后更新于 17 天前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
PS4 = 25
Remarks
Additional Resources: RuntimePlatform, Platform dependent compilation.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void Start() { if (Application.platform == RuntimePlatform.PS4) { Debug.Log("Do something special here!"); } }}