Version: 2017.3 (switch to 2017.4)
Script Execution Order Settings
Time Manager
Other Versions

Tags and Layers

The Tags and Layers Manager allows you to set up Tags, Sorting Layers and Layers. To view the Tags and Layers Manager, go to Edit > Project Settings > Tags and Layers.

The Tags and Layers Manager, before any custom tags or layers have been defined
The Tags and Layers Manager, before any custom tags or layers have been defined

Details

Tags: These are marker values that that you can use to identify objects in your project (see documentation on Tags for further details). To add a new Tag, click the plus button (+) at the bottom-right of the list, and name your new Tag.

Adding a new Tag
Adding a new Tag

Note that once you have named a Tag, you cannot rename it. To remove a Tag, click on it and then click the minus (-) button at the bottom-right of the list.

The tags list showing four custom tags
The tags list showing four custom tags

Sorting Layers: Used in conjunction with Sprite graphics in the 2D system, “sorting” refers to the overlay order of different Sprites.

Adding a new Sorting Layer
Adding a new Sorting Layer

To add and remove Sorting Layers, use the plus and minus (+/-) buttons at the bottom-right of the list. To change their order, drag the handle at the left-hand side of each Layer item.

The Sorting Layers list, showing four custom sorting layers
The Sorting Layers list, showing four custom sorting layers

Layers: Use these throughout the Unity Editor as a way to create groups of objects that share particular characteristics (see documentation on Layers for further details). User Layers primarily to restrict operations such as raycasting or rendering, so that they are only applied to the relevant groups of objects. In the Tags and Layers Manager, the first eight Builtin Layers are defaults used by Unity, so you cannot edit them. However, you can customise User Layers from 8 to 31.

Adding a new Layer
Adding a new Layer

To customise User Layers from 8 to 31; type a custom name into the text field for each one you wish to use. Note that you can’t add to the number of Layers but, unlike Tags, you can rename Layers.

Did you find this page useful? Please give it a rating:

Script Execution Order Settings
Time Manager