Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Zooming with webgl build on itchio

Discussion in 'WebGL' started by Sprinklotad, Jul 27, 2020.

  1. Sprinklotad

    Sprinklotad

    Joined:
    Jun 11, 2020
    Posts:
    4
    Hi,

    I made a small 2d game and used the Canvas UI for an inventory system.
    On itch io, if I zoom on the browser, the UI is affected. I tried setting the UI Scale mode to "Constant Physical Size" but it still doesn't work right. In Unity, it looks just fine no matter what screen size I set it, but gets messed up if I resize the window. 2020-07-27_00-35-40.gif 2020-07-27_01-00-41.gif
    Is there some setting that I'm missing?
     
  2. Sprinklotad

    Sprinklotad

    Joined:
    Jun 11, 2020
    Posts:
    4
    Last edited: Jul 27, 2020