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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.