Last updated: Sep 11, 2022

Introduction

The Audio Manager Service is the game service that allows us to super easily play sounds. We made this to facilitate the spawning of AudioSource components.

You can find the Audio Manager Service at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Services\AudioManagerService.cs

Functions

Is Playing Source. Checks if an AudioSource is valid, and playing!

Destroy Source When Finished. Destroys the audio source once it has finished playing.

Play One Shot After Delay. Waits for a certain amount of time before starting to play a one shot sound.

Methods

Play One Shot Internal. Internal PlayOneShot. Basically the whole function's name!