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