Prefab Basics

Create and use your first prefab

Create Prefab

Start by selecting the actors in the scene that you’d like to create a prefab with

_images/A_select_actors.jpg

Select the actors

From the toolbar, click the Prefabricator drop down menu and choose Create Prefab to create a prefab with the currently selected actors in the scene

_images/A_create_prefab_menu.png

Create prefab menu

This will create a prefab asset in the content browser’s currently selected directory

_images/A_prefab_content_browser.png

Prefab Asset

Notice the previously selected actors have now been converted to a prefab. Prefabs have a green outline on them when selected in the editor

_images/A_prefab_created.jpg

Prefab created

Use Prefabs

Now that you have created a prefab asset, you can reuse this all across your maps

Drop your newly created prefab on to the scene

_images/A_drop_prefab.jpg

Prefab created

Create a few more of these instances

_images/A_drop_prefab_more.jpg

Prefab created


Congratulation! You’ve created and used your first prefab