包含此页的版本:
不含此页的版本:
You can include prefabAn asset type that allows you to store a GameObject complete with components and properties. The prefab acts as a template from which you can create new object instances in the scene. More info
See in Glossary instances inside other prefabs. Prefab instances included in other prefabs are called nested prefabs. Nested prefabs keep their links to their own prefab assets, while also forming part of another prefab asset.
You can add nested prefabs in prefab editing mode, or from the Hierarchy view.
You can add a prefab instance as a child of another prefab in the Hierarchy view.
Assets folder (Project tab) More info
The nested prefab is applied as an override to the parent prefab asset, indicated by a green plus icon. You can optionally apply these override changes permanently to the parent prefab asset. For more information, refer to Apply overrides to the prefab asset.