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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How do you make your game look the same on multiple devices?

Discussion in 'iOS and tvOS' started by HowWeLife, Jul 21, 2015.

  1. HowWeLife

    HowWeLife

    Joined:
    Jul 4, 2015
    Posts:
    51
    Does Unity automatically scale everything to look the same on multiple screens?

    Also what is the difference between an image that you drag into the hierarchy and an image you set trough a UI? because UI's have anchor points.

    I am very confused and cannot seem to find an answer.
     
  2. super77gg

    super77gg

    Joined:
    Sep 25, 2014
    Posts:
    46
    Unity will scale things the best it can to adapt to different screen resolutions - however it will always maintain the aspect ratio of the original artwork.

    An image you drag into the hierarchy is considered a sprite. This is a non-UI element. Typically this is a character or background element.

    The image set through UI is considered a User Interface element. This is used to make panels that display information - like an options menu. UI image sprites also support some great functionality like 9-slices (you can scale an object without distorting corners) and masking. You can also do quite a few tricks with the UI to have it adapt to different screen resolutions.

    I defiintely recommend checking out Unity's training here if you haven't already:

    https://unity3d.com/learn/tutorials
     
    Last edited: Jul 21, 2015
    HowWeLife likes this.
  3. HowWeLife

    HowWeLife

    Joined:
    Jul 4, 2015
    Posts:
    51
    Thank you ! So sprites will outomatically adapt and ui elements (button ect) will have to be anchored sliced ect to stay the same? Thats pretty good since im more worried about gameplay than buttons looking thrle excact same.

    So do I just have to trust that unity will show Sprites the same across all devices (and how good is it at doing that)?and I will read more of that link so thanks!