The button

The canvas object is now properly configured for a multiresolution setup. Due to the Canvas Scaler (Script) component, it can be resized automatically to fit many resolutions and devices, from desktop computers to mobile devices. However, the canvas object right now has no controls or widgets on it; buttons, images, or text edits, and so on. Specifically, we need to add the forwards button. To do this, select the canvas object in the Hierarchy panel, and right-click on it. From the context menu, choose UI | Button:

Adding the UI button

All newly added buttons appear as a default, white button, which should be clickable. When adding ...

Get Mastering Unity 2017 Game Development with C# - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.