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

Summary

In this chapter, you learned how to play background music, sound effects, and atmospheric sounds. To play background music we created two unique systems, a random based system and a playlist styled system. Our atmospheric sounds are easy to play as we used a key-based system to call and play sounds with ease. We made a simple yet effective event-based system to play sound effects.

In the next chapter, we will go over the optimization of our game. We will cover how to adjust the graphics, sound, lighting, and many more options to make our games effective and smooth across all platforms.

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