Going further
If you are adventurous, try expanding your project to add the following features:
- Add sound effects to other events
- Tie sound effects to animations through animation events
- Instead of just muting and unmuting your sound and music, add a volume control by adjusting the
Volume
parameter on theAudio Source
component