To add volume control sliders to your scene, follow these steps:
- Create a new Unity 3D project.
- Import the provided Unity package, Volume, into your project.
- Open the Volume scene from Project panel folder, VolumeControl | _Scenes.
- Play the scene and walk toward the semitransparent green wall in the tunnel, using the W A S D keys (press Shift to run). You will be able to listen to:
- A looping music soundtrack
- Bells ringing
- A robotic speech whenever the character collides with the wall
- In the Project panel, use the Create menu to add an Audio Mixer file. Rename this new file MainMixer.
- Double-click MainMixer to open the Audio Mixer panel.
- In the the Audio Mixer panel Groups section, highlight Master and click the + (plus) ...