Gun Sound Effects with an Audio Config ScriptableObject | Gun Series 5 | Unity Tutorial @LlamAcademy
Gun Sound Effects with an Audio Config ScriptableObject | Gun Series 5 | Unity Tutorial  @LlamAcademy
Uploaded January 2023 | Updated September 2026, 1 hour ago
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: 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: youtube.com/watch?v=E-vIMamyORg&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to

๐Ÿ”ถ ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out ๐Ÿ™‚
๐Ÿ‘จโ€๐Ÿ’ป Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/scriptable-object-based-guns
๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly

๐Ÿ“š Resources:
๐ŸŸ  Audio Configuration: docs.unity3d.com/Manual/class-AudioManager.html
๐ŸŸ  AudioSource: docs.unity3d.com/ScriptReference/AudioSource.html
๐ŸŸ  Sound Effects Used in the Video: assetstore.unity.com/packages/audio/sound-fx/epic-war-sound-effects-collection-81407?aid=1101l9QvC
๐ŸŸ  Impact Management System Tutorial: youtube.com/watch?v=kT2ZxjMuT_4

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

Chapters:
00:00 Topic Introduction
01:35 AudioConfigScriptableObject.cs - Set up the SO
03:45 GunScriptableObject.cs - Get References to AudioConfig & AudioSource
04:15 GunScriptableObject.cs - Play Firing Sound
04:41 PlayerAction.cs - Play Reload Sound
05:25 GunScriptableObject.cs - Play Out of Ammo Sound
06:26 Create AudioConfig Scriptable Objects & Hook Audio Clips
07:40 Add Audio Source to Gun Prefabs
08:04 Play Sound on Bullet Impact using Surface Manager
09:30 Demo & A Potential Problem with High Rate of Fire Guns
10:15 A Solution to High Rate of Fire Guns Audio Issue
11:15 Demo with Solution Applied
11:40 Final Thoughts & Support LlamAcademy!
Gun Sound Effects with an Audio Config ScriptableObject | Gun Series 5 | Unity TutorialProjectile Gun Support | Scriptable Object Gun Series Part 6 | Unity Tutorial #shortsHow I made an Inverse Tower Defense game with Unity 6. Its FREE & Open Source.I accidentally created a dodgeball game with projectile motion & movement prediction #ShortsIN-EDITOR Automatic LOD Generation for 3D Models | Unity Tutorial #shortsMake (Mostly) Accurate Projectile Throwing AI at Moving Targets | Unity Tutorial #Shorts8 Inverse Kinematics Solutions in Unity Evaluated - Which should you use?Enemy State Machine AI FULL IMPLEMENTATION | AI Series 47 | Unity TutorialAnimation-driven Reloading | Gun Series 4 | Unity Tutorial #shortsDoes Animation Rigging Work on Generic (non-Humanoid) Models? | Unity TutorialTop 3 Lessons (Re)Learned from Making My Chicken Defense MicrogameHow to Retarget Animations with Inverse Kinematics & Animation Rigging | Unity Tutorial
LlamAcademy |

Gun Sound Effects with an Audio Config ScriptableObject | Gun Series 5 | Unity Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER