기술 자료

Unity Engine

Unity Engine

OSXPlayer

In the player on macOS.
읽는 시간 1분최근 업데이트: 20일 전

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