From the course: Unity 3D 2019 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding ambient sound

Adding ambient sound - Unity Tutorial

From the course: Unity 3D 2019 Essential Training

Start my 1-month free trial

Adding ambient sound

- Okay, so let's start adding some noise into our scene. So the first thing we need is some kind of outside noise when we go outside, so let's work on this. So we're currently outside, and what we need to do first is create a game object that will hold the audio file for when we walk outside. Let's go ahead and in our hierarchy add a new game object. So we'll create an empty game object, and we'll call this "Exterior," or you can call this "backyard noise," or whatever you want, like so. And then inside of that game object we're going to add a sound component. So we're going to go to Add Component, Audio, and basically do a audio source, like so. Then what we need to do is click on that arrow here, and what we'll do is add the source. So what we can do is drag and drop from the sound files here. The one that I'm looking for is the outdoor sound. So let's go and drag and drop this guy into the AudioClip, like so. And…

Contents