Quantcast
Channel: Questions in topic: "css"
Viewing all articles
Browse latest Browse all 78

Trying to resize Unity WebPlayer control when resizing browser

$
0
0
I'm trying to get a Unity WebPlayer control to resize when the browser is resized. Here's the code I think is pertinent:
From various `alert()`s in the code, I can verify that `ResizeUnity()` is being called when I change the size of the window. I can verify that `winWidth` and `winHeight` are getting proper values assigned to them upon resizing. But, no matter what I do to the browser window, the Unity WebPlayer object stays the same size it was when it was loaded. What am I doing wrong?

Viewing all articles
Browse latest Browse all 78

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>