Sound Effects
Sound Effects are a simple way to improve a game. Letting the player know when they have picked something up, lost health, achieved something – or anything that might benefit from sound.
Adding sound effects is a simple task. For every sound effect you need, you must follow the same steps.
Important things to remember are:
- Anything that will play a sound needs an AudioSource – a speaker.
- Game Objects only need one AudioSource.
- For each sound effect, you must create an AudioClip variable.
- The AudioClip variable is then played through the AudioSource at the correct time.