Menu
Lumberyard
User Guide (Version 1.13)

Creating Nested Slices

A nested slice contains instances of other slices. Nested slices can store their own overrides for component and entity properties. They can also contain their own entities.

For example, suppose that you have a slice called wheel.slice, composed of one wheel. You have another slice called body.slice, composed of an engine, seat, and frame. You create a new slice called motorcycle.slice and add two instances of the wheel slice and one instance of the body slice, and then save the changes. The body and wheel slices are now nested in the motorcycle slice.

To create a nested slice

  1. In the Entity Outliner, drag one or more slices onto another slice. The slices become child entities of the slice you dropped them on.

  2. Right-click on the parent entity and choose Create slice. Save the slice with a new name.