文档

Unity Engine

Unity Engine

Android

In the player on Android devices.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Android = 11

Remarks

Examples

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