Chapter 8
Recipe: Sound Manager
Audio can make or break a video game. Good audio can provide a deeper level of immersion by reinforcing the themes of the game world and filling out environments into living, noise-making places. On the other hand, bad audio can irritate players and turn a good gameplay experience into something repetitive and empty.
Most commercial games have several different layers of audio playing at the same time, transitioning or changing contextually. To achieve commercial levels of audio, Unity’s audio system will need a lot of help. Out of the box, it isn’t exactly an easy process to do some simple tasks, such as fading audio in and out or controlling volume levels. To accomplish even basic functionality, extra audio ...
Get C# Game Programming Cookbook for Unity 3D 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.