Version: 5.4

RuntimePlatform.OSXDashboardPlayer

Cambiar al Manual

Descripción

En el widget Dashboard en Mac OS X.

Mirar también: Compilación dependiente de Plataforma.

using UnityEngine;
using System.Collections;

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