You can do this without JS thankfully! :)
Just start your webplayer up like this:
unityObject.embedUnity("unityPlayer", "fit2cure.unity3d", "100%", "100%", params);
Then carefully set up all of your container objects to also have maximum width with no padding, border, or margin.
Good luck!
EDIT: on a side note, is it unity.style that is null? instead of unity?
↧