UnrealScript Game Programming Cookbook

(Chris Devlin) #1
Chapter 2

35

So now we have all of our assets lined up and drawn to the correct scale. Our last
task is to group them as a prefab, so that we can easily create more and use them
throughout the level.


  1. Select both of your objects and right-click on them to bring up the options menu.
    Scroll down and left-click on Create prefab....


Ctrl + Alt + left-click and drag in viewport will allow you to marquee select
items, which can save a great deal of time. Alternatively, Ctrl + left-click will
allow you to select multiple items at once.


  1. When the prompt to save the prefab appears, I saved mine under the
    following settings:


Package: TutorialPackage
Grouping: Prefabs
Name: Pre_LeakingPipe
Free download pdf