Game Development Reference
In-Depth Information
Figure 2-20. Creating a Parent object for a group of GameObjects, in preparation for creating a Prefab asset
Once a parent-child hierarchy is established, simply drag and drop the parent GameObject from
the Hierarchy panel to the Prefab asset in the Project panel. Doing this establishes the essential
connection between the meshes in the scene and the Prefab asset. In one operation, we will have
generated a Prefab asset featuring all corner-section meshes, and will have replaced the original and
independent meshes in the scene with the Prefab asset (see Figure 2-21 ).
Figure 2-21. Building a Prefab for the modular building method
 
Search WWH ::




Custom Search