greggman / better-unity-webgl-template

A better default template for Unity WebGL
https://greggman.github.io/better-unity-webgl-template/
Creative Commons Zero v1.0 Universal
760 stars 136 forks source link

OnRectTransformDimensionsChanged doesn't get called when resizing browser #5

Closed SlimeQ closed 5 years ago

SlimeQ commented 5 years ago

This is probably a more general Unity issue but I don't seem to be getting OnRectTransformDimensionsChanged calls when resizing the browser window. I'll be digging into this more today but I suspect the issue could be solved with some clever javascript.

I'll make sure to post any info I find.

SlimeQ commented 5 years ago

I spoke way too soon on this one, the function is getting called just fine. I just have a bug in my own code.

Closing