Edit prefabs

BeginnerDesigner

You can edit prefabs in the Prefab Editor.

Open the Prefab Editor

To open the Prefab Editor from the Asset View:

  • Right-click the prefab you want to edit and select Edit asset:

Right-click prefab

  • Alternatively, double-click the prefab you want to edit:

Double-click prefab

To open the Prefab Editor from the Scene Editor, right-click any child of a prefab instance and select Open prefab in editor.

Open prefab in editor

Use the Prefab Editor

Edit prefabs

The Prefab Editor works similarly to the Scene Editor. For example, you can:

  • add and delete entities
  • use transformation gizmos to translate, rotate and scale entities
  • create parent-child relations between entities
  • add and modify entity components (scripts, materials, models, animations, etc)For more information about managing entities, see Populate a scene.

Prefab Editor

When you edit a prefab in the Prefab Editor, the changes are applied to the instances of the prefab in the scene in real time.

This video demonstrates what happens when we make changes to the prefab. The Scene Editor is on the left, and the Prefab Editor on the right:

See also