文档

Unity Engine

Unity Engine

IPhonePlayer

In the player on iPhone or iPad devices.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
IPhonePlayer = 8

Remarks

Examples

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