ドキュメント

Unity Engine

Unity Engine

OSXPlayer

In the player on macOS.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
OSXPlayer = 1

Remarks

Examples

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