October 2017
Intermediate to advanced
548 pages
13h 23m
English
In Unity, user interface (UI) buttons reside on a canvas. Create a canvas:
By default, the Canvas UI Scale Mode is set to Constant Pixel Size. This is an issue since mobile devices can have many different screen sizes and density (DPI), and your buttons will get smaller or bigger depending on the screen size. We will change it to Constant Physical Size.
You can then arrange your UI on the canvas as you desire. Create and position a button in the lower right-hand corner of the screen.
The button is easily previewed in the Game window. In Inspector ...
Read now
Unlock full access