Version: 5.5
public static bool isWebPlayer ;

Descripción

¿Se está ejecutando al interior de un web player? (Read Only)

Devuelve true si el juego está siendo ejecutado desde el web player de Unity.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { if (Application.isWebPlayer) print("We are running this from inside of the web player!"); } }

Tenga en cuenta que el soporte al webplayer no continúo desde 5.4.0.