GUI Skin

A GUI Skin is a collection of GUI Styles that can be easily controlled through a single asset. The benefit of this is that it allows you to use different Styles that can be easily altered in a single place rather than through a bunch of GUI Style scripts separating them all. Figure 10.1 shows the default GUI Skin.

Image

Figure 10.1 A default GUI Skin

As you can see, there are a lot of elements that make up a GUI Skin. Each section expands to show the different states for each of these when affected by the player, each with its own settings.

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.