GUI Controls

As seen in Figure 10.1, the GUI Skin holds all of the GUI Controls that you can adjust and tweak to fit your needs. There are quite a few Controls that you might want to use for your interfaces:

Image Label: Just like it sounds, a label is used to display textual information. It cannot be clicked and used. For this you would need a Button Control.

Image Button: For clicking to cause an event or action to happen. Buttons are used extensively within the menus, for moving in and out of them.

Repeat Button: Like the Button Control, but continuously ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation 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.