Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OSXEditor

In the Unity editor on macOS.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
OSXEditor = 0

Remarks

Examples

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