Learning Outcomes

By the end of this chapter, you will be able to:

Configure Unity with the Music System script.

Modify the Reverb zone to prevent reverb still being applied to the mix when the game restarts.

Pickups

Let’s start off with our pickups. You could use a 3D model for these (follow the same procedure we used for importing the rocket launcher, Sentry Drones and health pickups), but to keep things simple, I’m just going to use Unity’s sphere primitive.

Go to GameObject > 3D Object > Sphere.

Name this “pickup.”

Scale and position the pickup so that the player will be able to reach it in the Scene.

Go to Edit > Project Settings > Tags and Layers, and create a new Tag called “Pickup” (you can ...

Get Game Audio with FMOD and Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.