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.

Supporting Multi-resolutions

Discussion in 'UGUI & TextMesh Pro' started by NoEnd, Aug 22, 2014.

  1. NoEnd

    NoEnd

    Joined:
    Mar 7, 2014
    Posts:
    15
    The everlasting problem of supporting multi-resolutions is always a concern for me when it comes to start using a new platform. I have been using other GUI alternatives on 4.5. My question here is that does the new GUI support multi-resolution, as a small test:

    • I created a button
    • Run the game
    • resized the window
    • But?
    The button kept on the same size, could someone please assist me with this?

    Regards
     
  2. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Reading the forum helps a lot. It was already mentioned numerous times that this can be achieved by adding a reference resolution component to the canvas.
     
    NoEnd likes this.
  3. diogomota

    diogomota

    Joined:
    Jul 6, 2012
    Posts:
    7
    yup as Dantus said add the reference resolution component to the canvas and set your target resolution(the resolution in which you created the UI), everything should scale to look the same on different devices ;)
     
    NoEnd likes this.
  4. NoEnd

    NoEnd

    Joined:
    Mar 7, 2014
    Posts:
    15
    Thanks guys for the help,

    I have searched the fourm for this but I couldn't find it. Anyhow my apologies for diplucation