Version: 5.4

Application.webSecurityEnabled

Cambiar al Manual
public static bool webSecurityEnabled ;

Descripción

Indica si está siendo utilizado el modelo de seguridad para el webplayer de Unity.

In the web player, this will always return true. In the Unity editor, it will return true if web security emulation is enabled (Menu->Edit->Project Settings->Editor) and false if the emulation is disabled. On all other platforms, this will return false;

Esta propiedad solo puede ser de lectura. Usted puede utilizar EditorSettings.webSecurityEmulationEnabled para establecer este ajuste en el ambiente del editor.

Tenga en cuenta que el webplayer no es parte de 5.4 y posterior.