I’m using in a browser, however I found out changing the display style to none actually unloads the unityObject. I’ve read somewhere it’s possible to change the width height of the unityObject to a 1x1 pixel so it’s still running in the background while something else is displayed on the screen. Can anyone tell me how to do this or provide a link that sends me me in the right direction?
I believe it was under Edit > Player Settings or something like that. You can set the width and height there. There is also a checkbox ‘run in background’
Hey you can also open html file , and edit the accordingly… by altering the size of the window to be displayed
unityObject.embedUnity("unityPlayer", "WebPlayer/WebPlayer.unity3d", 760, 456);
Thank you for the replies. I actually need to be able to do this dynamically. How can you change the 760, 456 values in javascript?
bump
I gave a suggestion here, but I’ll repeat it in this thread for others in the future: