Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Canvas Scalar component

The Canvas Scalar component determines how the items within the canvas will scale. It also determines the pixel density of the items within the UI canvas.

In the Resolution and Aspect Ratio section, we discussed how to build your game at a single resolution or the single aspect ratio. However, most of the time, you will not have the luxury of choosing the resolution or aspect ratio your game will play at. You'll note that I only mentioned specifying the aspect ratio and resolution for the PC, Mac, and Linux Standalone builds, and the WebGL builds. When you build to something that will play on a handheld screen or a TV screen, you cannot guarantee how big that screen will be.

Due to the fact that you cannot guarantee ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content