Game Development Reference
In-Depth Information
Figure 4-13.
The completed Cash Power-UpNote: Before creating the Prefab for the Cash Power-Up. Don't forget to attach an
audio clip from the Project panel into the
Powerup_Dollar.Clip
member, as shown in Figure
4-13
To create a Prefab from the Cash Power-Up, select
Assets
➤
Create
➤
Prefab
from the application
menu (see Figure
4-14
).
Figure 4-14.
Creating a Prefab for the power-up