Version: Unity 6 (6000.0)
Language : English
Scene template settings
Uses of layers in Unity

Layers

Layers are a tool that allows you 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. Unity currently supports three UI systems. 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.

You can select which layers display in the Scene viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
from the View Options overlay.

Topic Description
Uses of layers in Unity Understand common applications of layers in Unity.
Create functional layers in Unity How to create layers and assign GameObjects to layers in Unity.
Layer-based collision detection How to use layers when configuring collisionsA collision occurs when the physics engine detects that the colliders of two GameObjects make contact or overlap, when at least one has a Rigidbody component and is in motion. More info
See in Glossary
.
Layers and layerMasks Resources for connecting layers to the Unity API, via layerMasks.

Additional resources

Scene template settings
Uses of layers in Unity