To get sound effects within your project you will have to add a new component ”Audio Source”
now having this on our player we can begin to code it within the script. we can start by storing the sound in a variable.
I have decided to code the sound within the FireLaser method which looks like this:
AudioSource.PlayClipAtPoint will allow the stored variable to be played