O'Reilly logo

Unity Game Development Scripting by Kyle D'Aoust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Aural Integration

In this chapter, you will learn about adding audio in our game in various ways. Combining the usage of background music, atmospheric sounds, and event-driven sound effects, you will have a game that feels very much alive. Audio plays a major role in how players perceive the game world, and can be as important as graphics in setting the mood of a scene.

In this chapter, you will learn about the following things:

  • How to create a random music system
  • How to create a playlist-styled music system
  • How to integrate and manage atmospheric sounds
  • How to create an event-driven sound effects system

Background music

The first part of audio that we will cover will be the background music. Having music in your background can set the mood ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required