Gun Sound Effects with an Audio Config ScriptableObject | Gun Series 5 #shorts




Published: 05 Jan 2023

Full Tutorial on YouTube: https://www.youtube.com/watch?v=hV3BAw2c9Io&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to&index=5


Learn how to configure Audio Sound Effects in a reusable, configuration-driven (with Scriptable Objects) way! In this video you'll learn how to configure different shooting sound effects per gun or gun category, empty fire clips, reloading clips, and last bullet clips.

This can of course be easily extended to support any number of additional clips required.


We will also continue to use the Impact Management system built in this tutorial: https://www.youtube.com/watch?v=kT2ZxjMuT_4 to handle bullet impact sound effects as well, which can be easily configured per gun type, specific gun, or generically for all guns based on the surface impact type.


Since this is part 5 of the Gun Series, if you're just now jumping in it might be a little confusing. You can watch from the beginning to see how and why each line of code exists here starting from part 1: https://www.youtube.com/watch?v=E-vIMamyORg&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to


💸 Ongoing sales 💸

⚫ Asset Store - New Year's Sale, 50% off THOUSANDS of Assets - https://assetstore.unity.com/?aid=1101l9QvC

⚫ Humble Bundle - RPG Essentials - https://www.humblebundle.com/software/unity-unreal-rpg-essentials-blink-software?partner=llamasoftware&charity=2280172

⚫ Humble Bundle - Unity Tools Encore - https://www.humblebundle.com/software/holiday-encore-unity-tools-software?partner=llamasoftware&charity=2280172

⚫ Humble Bundle - Unity Art Encore - https://www.humblebundle.com/software/holiday-encore-unity-art-software?partner=llamasoftware&charity=2280172


👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/scriptable-object-based-guns


📚 Resources:

⚫ Audio Configuration: https://docs.unity3d.com/Manual/class-AudioManager.html

⚫ AudioSource: https://docs.unity3d.com/ScriptReference/AudioSource.html


📱 Let's stay connected

YouTube: https://youtube.com/c/LlamAcademy

Patreon: https://www.patreon.com/llamacademy

Facebook: https://facebook.com/LlamAcademyOfficial

Twitter: https://twitter.com/TheLlamAcademy

TikTok: https://tiktok.com/@LlamAcademy

Instagram: https://instagram.com/LlamAcademy


----


Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: https://www.patreon.com/llamacademy


----

Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.

I also have some Unity Assets: https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.