sno / unity-webgl-responsive

Responsive layout for Unity WebGL applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Borderless fullscreen layout

sno opened this issue · comments

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 layout is one that uses the entire window area, similar to background-size: cover.