ドキュメント

Unity Engine

Unity Engine

webSecurityEmulationEnabled

Determines if the Unity Editor emulates the networking security restrictions of the web player.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. EditorSettings.webSecurityEmulationEnabled is no longer supported, since the Unity Web Player is no longer supported by Unity.
public static bool webSecurityEmulationEnabled { get; set; }

Remarks

The emulation feature is turned on when this setting is enabled, and the active buildtarget is the webplayer. A downside of having it disabled is that the networking security restrictions also apply to the entire editor, which make certain tools that require opening listening sockets to no longer work. Only enable this if you actually want to work on your application's networking behaviour for the webplayer environment.
Note that WebPlayer is not supported from 5.4 and onwards.