Hi everyone, I posted a problem yesterday but I don’t think I was very clear in explaining it. I hope you can help!
I am embedding my Unity application into a website, using code provided by the Unity manual (Working with UnityObject2), and I have succeeded in embedding it to the site. However, in Firefox and IE, the player window stretches all the way across the browser window (regardless of how big or small the browser window is), and the height is constant at about 250 pixels. In Safari it’s just much bigger than I would like it to be. As far as I can tell the code I used doesn’t have any specifications for size, and it’s nothing to do with my CSS styling in my web page, as I have tried it in a blank page with the same effect. Is there a way of doing this that will allow for a size similar to what you see in the game view of the 2 by 3 view?
You can see the code I used here:
http://docs.unity3d.com/Documentation/Manual/WorkingwithUnityObject.html#initPlugin
Sorry if there’s a really basic solution to this, I am quite new to Unity ![]()