Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


webSecurityEmulationHostUrl

The url the web security emulation feature will pretend your game is hosted at.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

The web security emulation feature will pretend that your game is hosted somewhere. The location of the hosted file matters, because that indicates wether or not certain WWW requests need to be authorized trough a crossdomain.xml file or not.
Note that WebPlayer is not supported from 5.4 and onwards.