unity-webgl-responsive
unity-webgl-responsive copied to clipboard
Responsive layout for Unity WebGL applications
So - XMLHttpRequest.js no longer exists where your looking for it. Not sure how to fix it. I think you'll need to make another template for whatever version of unity...
The progress bar instantiated in the 201X template is missing in the 2020 one.
Sorry, I know very little about css syntax...
https://github.com/sno/unity-webgl-responsive/blob/11fdd38df69bbcae1569c02f6286a0e7e4303997/assets/css/style.css#L61 I changed it to `height: 100vh;` and it worked really nicely for height and width
In its current form, the Unity canvas is scaled according to its container's width and height, which is dictated by a `mad-width` and locks the aspect ratio. A possible optional...
 Any suggestion on this MyLoader.js script for the above mentioned Regular expression issue?