Sound is a very important part of the gaming experience. In fact, it can't be stressed enough how crucial it is to the player's immersion in a virtual environment. Just think of the engine running in your favorite racing game, the distant urban buzz in a simulator game, or the creeping noises in horror games. Think of how these sounds transport you into the game.
Introduction
The big picture
Before getting on with the recipes, let's first review how the different sound features work in Unity. A project with audio needs one or more audio files, which are called AudioClips in Unity, and these sit in your Project folders. At the time of writing, Unity 2017 supports four audio file formats: .wav, .ogg, .mp3, and...