RuntimePlatform.OSXPlayer
Описание
В плеере на macOS.
Дополнительные ресурсы: RuntimePlatform, Компиляция в зависимости от платформы.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.OSXPlayer) { Debug.Log("Do something special here!"); } } }