Version: 2019.4
Unpacking Prefab instances
Uses of layers in Unity

Layers

Layers are a tool that allows you to separate to separate GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
in your scenes. You can use layers through the UI(User Interface) Allows a user to interact with your application. More info
See in Glossary
and with scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
to edit how GameObjects within your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
interact with each other.

Topic Description
Uses of layers in Unity Understand common applications of layers in Unity.
Create layers in Unity How to create layers and assign GameObjects to layers in Unity.
Layers and layermasks Understand the difference between layers and layermasks.
Set a layermask How to correctly setup a layermask to use in API calls.
Add a layer to a layermask How to programmatically add a new layer to a layermask.
Remove a layer from a layermask How to programmatically remove a layer from a layermask.

Additional resources

Unpacking Prefab instances
Uses of layers in Unity