Sound in 3D

Tyler Smallwood
Dec 12, 2023

--

Objective: Give the revolver sound!

We can shoot and hit things now.

To make this feel more immersive, we need sound! On our revolver I added a Audio Source component.

Dropped in our gun sound.

Make sure Play On Awake is unchecked.

Under the XR Grab Interactable, I created another event under active and dropped in the Audio source and selected the Play() method.

And with that we have sound with our shooting! Thanks for reading!

--

--

Tyler Smallwood
Tyler Smallwood

Written by Tyler Smallwood

I am passonate on learning to program and use Unity to become a skillful Unity Developer

No responses yet