IPhonePlayer
In the player on iPhone or iPad devices.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
IPhonePlayer = 8
Remarks
Additional Resources: RuntimePlatform, Platform dependent compilation.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void Start() { if (Application.platform == RuntimePlatform.IPhonePlayer) { Debug.Log("Do something special here!"); } }}