Version: 2023.2
言語: 日本語
Removed

Application.webSecurityEnabled

マニュアルに切り替える
Obsolete public static bool webSecurityEnabled ;

説明

Indicates whether Unity's Web Player security model is enabled.

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

This property is read-only. You can use EditorSettings.webSecurityEmulationEnabled to set this setting in the Editor environment.

Note: The Web Player is obsolete.