Playtesting
For playtesting, you will need to get a few assets from the Unity Asset Store for the sound effects, background music, and atmospheric sounds. These are the ones I recommend that you use for this example:
Future Weapons Set: https://www.assetstore.unity3d.com/en/#!/content/15644
Footsteps Sounds Carpet Pack: https://www.assetstore.unity3d.com/en/#!/content/2924
The Fantasy Music Collection (Starter): https://www.assetstore.unity3d.com/en/#!/content/15901
The Combat Collection Starter Edition: https://www.assetstore.unity3d.com/en/#!/content/7208
Ambient Sample Pack: https://www.assetstore.unity3d.com/en/#!/content/3765
First, create an empty GameObject, name it RunningSource, and add an audio source to it; this can be done by navigating to Add Component | Audio | AudioSource. On the main camera, add AudioSource if there is none. Next, add the SFX_Manager script to the camera. For its values, set the following:
SFX volume to
1Run to
footsteps_runcarpet_1Spell to
shot_hand_gun...