Unity Sound Tutorial with James : JDAMS GAMES
Uploader Comments (Envatio)
All Comments (14)
-
This helped me out so much, thanks a bunch.
I now for some work have several blocks all triggered with 'WTF BOOM' ^^
-
thx m8! You made my day!
-
I have a problem no matter what I tried I still get an error saying a semi collen is expected and i cant find the problem since its exacly as yours.
-
@BattleLegion Not sure if I'm too late but you can use the function Destroy(gameObject). Place this in the TriggerScript after the "audio.PlayOneShot(audio)", and if it works it should destroy the cube after playing the sound. Not tested, though.
-
@141ahmed141 it means that your first person controller is below your terrain. First make sure you have a terrain, and that your player is above it completely. Next make sure your first person controller has a rigid body attached.
-
How do you make it so that when you hit the box it disappears and you still hear the sound?
-
A sound tutorial recorded almost without sound. Hilarious
-
Very useful! Thanks for the help!
Keep it up!
(subscribed by the way)
You are my hero for posting this. There's so many damn complicated tutorials out and around for trying to get sound to work, yours is so simple and straight to the point I almost feel stupid for not figuring it out myself. Thank you, good sir.
SublimeHysteria 5 months ago
@SublimeHysteria most welcome sir.
Envatio 4 months ago
@Brandiumx - When you add the sound just leave the 3D sound button on and thats it. Once your playe gets close the sound will appear. For ambient music or water/fire sounds use a looping music sound and check the "loop" button in the inspector panel.
Envatio 1 year ago