文档

Unity Engine

Unity Engine

OSXEditor

In the Unity editor on macOS.
阅读时间1 分钟最后更新于 19 天前

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!"); } }}