Adding Sound FX to the 2D Space Shooter

In the previous article, we added background music to the game, which instantly made things more immersive. This time, we will add a laser sound effect and an explosion when we destroy the Asteroid.

Since we want the sound to play when our Player fires their laser, we want to place the sound clip and the logic onto our Player object and Script.