O'Reilly logo

Unity 3D UI Essentials by Simon Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Resolution and scaling

Since there has been a UI and the need to display on more than one type of screen (basically since the days of arcade when you knew what you were running on), there has always been the challenge how to best design and implement a good UI that will work on any resolution, especially in Unity!

Note

We will just cover the basics in this section, and full examples will be given in Chapter 4, Anchors Away when we cover building responsive layouts with Anchors.

To answer this call with the new Unity UI system, Unity has created a resolution scaling component that is attached to a Canvas by default in order to control the resolution-based drawing of the GameObjects and components within; this component is called the Canvas Scaler ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required