---
title: 将游戏对象对象分分配图层
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/zh-cn/engine/6000.0/manual/working-with-gameobjects/layers
latest_url: https://docs.unity.com/zh-cn/engine/7000.0/manual/working-with-gameobjects/layers.md
last_updated: 2026-09-14
generated_at: 2026-11-17T09:31:56.648Z
locale: zh-cn
---

# 将游戏对象对象分分配图层

> 使用图层分离场景中的游戏对象。

图层是一种工具，可用于在场景中分离游戏对象。您可以通过 UI 和脚本使用图层来编辑 Scene 中的游戏对象如何交互 Other。

可从[视图选项覆盖](/engine/6000.0/manual/working-with-scenes/scenes-manage-gameobjects/overlays/view-modes.md)中选择“场景”视图中显示的图层。

| **主题**                                                                                        | **描述**                                |
| --------------------------------------------------------------------------------------------- | ------------------------------------- |
| [**Unity 中图层的使用**](/engine/6000.0/manual/working-with-gameobjects/layers/use.md)              | 了解 Unity 中图层的常见 Applications。         |
| [**在 Unity 中创建功能图层**](/engine/6000.0/manual/working-with-gameobjects/layers/create.md)        | 如何在 Unity 中创建图层并将游戏对象对分配给图层。          |
| [**图层和 layerMasks**](/engine/6000.0/manual/working-with-gameobjects/layers/and-layermasks.md) | 用于通过 layerMasks 将图层连接到 Unity API 的资源。 |

## 其他资源##additional-resources

* [标签和图层](/engine/6000.0/manual/unity-editor/editor-settings-reference/comp-manager-group/class-tag-manager.md)
* [Unity Learn：Unity 基础知识](https://learn.unity.com/pathway/5f7bcab4edbc2a0023e9c38f)
* [基于图层的碰撞检测](/engine/6000.0/manual/physics-section/physics-overview/collision-section/collision-detection/layer-based-collision.md)
