How do I enable web player emulation mode?

I keep reading about how you can test webplayer settings in the editor by enabling 'Web Player Emulation Mode' but cannot figure out how to enable it.

The documentation says it can be done here, but I can't find it:

Edit -> Project Settings -> Editor

I can see where you can choose the URL, but cannot see how to enable emulation mode.

Here's what I see:

alt text

My target build has been set to web player as far as I know.

I know I'm missing something obvious here...

1 Answer

1

Unless I'm mistaken, the emulation they're talking about is this security thing. In Build Settings you set Platform to Web, that's pretty much it.

I have selected webplayer in the build settings screen. I was under the impression that this would cause Application.isWebPlayer to return 'true' in the editor...

–

No, you're still in the editor. The emulation just counts for the restrictions that would be applied by the actual webplayer. If you want to test it just create a webbuild. Maybe they will emulate the isWebPlayer property as well in the future. But it will cause some more problems because in the editor you don't have an underlying webpage... http://unity3d.com/support/documentation/Manual/Security%20Sandbox.html

–

Thank you. I misunderstood what was meant by webplayer emulation.

–