Hey! If you are coding and dont know what "Void Start" or "Void Update" means, I will teach you Void start is at game startup, so at game startup if you want to play a sound, keep void start and put the code from this video between the brackets below void start Void Update is every frame, so for example, If I wanted my game to check every frame for jumping to play sfx, I would use void update. Hope this helped!
@SeanWonder8 ай бұрын
Thanks yeah I’m looking for how to apply sound effects to specific things in my game, not button presses like this video. How can I apply these examples to things like shooting a projectile or when an animation plays?
@M0ns3tr_Energy_drink8 ай бұрын
@SeanWonder maybe adding the script (in the inspector) to the animation/whatever. You can do this by scrolling all the way down inside the inspector while have your animation/whatever selected, then drag the script into the inspector
@Clik_Mazer4 ай бұрын
@@SeanWonderjust add an audio source to the “gun”, call public audiosource src; When Shoot(), run src.Play(); easy as that
@alexplaytop8 ай бұрын
Nicely DONE! THANK YOU MAAAAN!
@NPC-to7ts2 жыл бұрын
THANK YOU I WATCHED A DOZEN VIDEOS NONE WORKED YOU ARE A LEGEND!!!
@cameroncheney8804 Жыл бұрын
Thank you so much for the great tutorial! There are so many other's out there that are too complicated or have a lack of information but yours's is just right!
@editempireedits Жыл бұрын
Thank you so much this just added the best touch to my game and this is the first really good tutorial on making sound effects I have ever found so really thank you so much.
@MExME_Factory Жыл бұрын
Man, really appreciate your video. You saved my life! 🙏🙏🙏
@vikashr1388 Жыл бұрын
Instantly subscribed. I am a beginner at Unity and this tutorial had exactly what I needed.
@Bittergiggle_gaming Жыл бұрын
This Helped Me A lot Thanks!
@Vota_ Жыл бұрын
great vid, gets to the point fast
@gustavoalexandregustavotim936 Жыл бұрын
WOW! Very useful. Thanks for this tip.
@russellgu8y2447 Жыл бұрын
Thanks for your help, I watched a few videos from people showing how to only play one sfx.
@Turtle_Dyl07 ай бұрын
i was your 1000th subscriber
@Turtle_Dyl07 ай бұрын
im your 1000th subscriber
@ez4noobs9502 жыл бұрын
Thanks for the tutorial bro,it was awesome.
@thedevelopershow062 жыл бұрын
Your awesome!
@shaded44384 ай бұрын
this is cool; but it doesn't look very scalable, you have a more robust solution?
@krystelanndelica8161 Жыл бұрын
Hii it says in my console that "The type or namespace name 'AddSource' could not be found(are you missing a using directive or an assembly reference?" I'm just starting to learn how to develop a game, can u help me with this? Thank uuu in advance
@someguyswhoplayminecraft15342 жыл бұрын
On the sound effects player script the sfx 1 2 and 3 audio clips didnt come up for me so i couldnt put it in, do you know how to fix that please?
@thedevelopershow062 жыл бұрын
Check if you set the audio clips as public in the script
@someguyswhoplayminecraft15342 жыл бұрын
@@thedevelopershow06 Thanks
@timothyrockwell5742 Жыл бұрын
The second Ori also is missing it's music not just sound efx xD
@dontCallMe.. Жыл бұрын
but where can i find these sound effects I have been looking for theme and I didn't find any=[
@MootsieCat2 жыл бұрын
Thanks!
@richardlongshaw80792 жыл бұрын
Helped me a lot on this. Btw I used a Global (singleton) Audio Player for my project as it is a 2d arcade shooter and my objects are Destroyed all the time.
@Will8350 Жыл бұрын
After I built the game the sound wouldn't play, Do you know why? Great tutorial by the way!
@jntnow Жыл бұрын
Great
@Kiroto50 Жыл бұрын
0:20 You removed the music, too..?
@GifuPilled4 ай бұрын
a psycopath will use light mode in unity, nice tutorial
@kiacoder1226 Жыл бұрын
choon!!!!
@MPRGyanStudio8882 жыл бұрын
How to add alan voice and unity lip sync
@mrki3lo5 ай бұрын
great vide but its 4 minutes instead of 3 :(((((
@Alex_Plays_LMAO2 ай бұрын
Wtf does all that code mean ? I’m not learning anything.