Creating and Using a Prefab
From CryWiki
Prefabs are useful as a way enforce consistency across objects.
Contents |
Make a Prefab
- Create objects that you want to use as in your Prefab.
- Select the objects
- Select Prefabs→Make From Selection.
- Enter a name for your prefab.
The prefab should now appear when you open RollUpBar and open the Prefabs section. You can also access it directly from the DataBase view.
Edit a Prefab
- Select one of the prefabs.
- Do RollUpBar→Open to enable editing of the prefab.
- Rearrange the objects in the prefab.
- Do RollUpBar→Update Prefab.
You should now see your change appear in all prefabs of this type. You should close the prefab again after you finished editing it.
Add to a Prefab
- Select the prefab and the object(s) you want to add to it.
- Do Prefabs→Add Selection to Prefab
|
