Lumberyard
Legacy Reference

Prefabs

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

Prefabs are groups of objects that can be placed in the level as instances. An instance is an object that is an exact copy of every other object of the same type. Altering one prefab universally applies the changes to each instance of the prefab object. Any alterations need to be saved to the Prefab Library to ensure they are correctly propagated across the entire game.

The Prefabs Library is a tab in the Database View editor, and lists all the prefab objects that are available for a specific level.

Prefab Parameter Table

Parameter Description
Global
Open All Open all instances of this prefab inside the level.
Close All Close all instances of this prefab inside the level.
Local
Pick and Attach Allows you to add a new object to the selected prefab, by clicking on it.
Delete Object(s)

Allows you to delete one or more objects from the selected prefab.

Clone Object(s) Allows you to clone one or more objects from the selected prefab.
Clone All Clones all instances of this prefab inside the level.
Extract Object(s) Extracts a clone of a single object from the prefab, without altering or removing anything from the prefab object itself.
Extract All Extracts all the objects from the prefab, without altering the Prefab Library.
Open Opens the prefab group, allowing you to edit and manipulate objects within it.
Close Closes the prefab so that internal objects cannot be individually edited.