Labels

Labels are for earmarking individual assets so that you have a way of filtering and keeping track of them even within their own folder. We added a label for all of our enemy Prefabs when we created them, called simply “Enemy.” Makes sense, right?

From the Project Browser, select the icon just to the left of the star, the one that looks like a garment tag. This is a drop-down of all of our labels. By clicking on a label, you make it active, and it shows just those assets with the label name. Figure 12.2 shows our list of premade labels.

1. From the Label list, left-click the Enemy label to make only those assets with this label visible.

2. Highlight all of these by selecting the first one, and then Shift and left-click the last one.

3. ...

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.