Animation-driven Reloading | Gun Series 4 | Unity Tutorial #shorts @LlamAcademy
Animation-driven Reloading | Gun Series 4 | Unity Tutorial #shorts  @LlamAcademy
Uploaded December 2022 | Updated September 2026, 1 hour ago
Full Tutorial: youtu.be/Tn8RYWnEd94

Learn how to reload guns with Animation-driven reload time. This makes it much easier to synchronize your "reload time" in your code by receiving an event when the reload animation has completed instead of manually trying to tie the speed to the speed of the animation.

Remember this is Part 4 of the Gun Series, so we're building on Part 1, 2, and 3 (and there's more to come!) so if you haven't checked those out yet, here's the full playlist: youtube.com/watch?v=E-vIMamyORg&list=PLllNmP7eq6TQJjgKJ6FKcNFfRREe_L6to

⚫ LowPoly Eyeball Model: assetstore.unity.com/packages/3d/characters/creatures/low-poly-character-flying-eye-fantasy-rpg-175320?aid=1101l9QvC

💸 Ongoing sales 💸
⚫ December 12-19 ONLY! 50% Off Tripolygon Publisher Sale (maker of UModeler): assetstore.unity.com/publisher-sale?aid=1101l9QvC
⚫ December 12-19 ONLY FREE ASSET WITH CODE "MOONGLOW": assetstore.unity.com/packages/3d/environments/fantasy/the-moonglow-village-210011?aid=1101l9QvC
⚫ Asset Store - 50% off New Assets: https://prf.hn/click/camref:1101l9QvC/creativeref:1100l65054

👨‍💻 As always, all code from this video is available on GitHub: github.com/llamacademy/scriptable-object-based-guns
Each video has its own branch, so you can check out "part-4" branch to get only what's been implemented so far!

📚 Other Helpful Videos:
⚫ Gun Series 1 Shooting, Bullet Trails: youtu.be/E-vIMamyORg
⚫ Gun Series 2 Bullet Spread/Recoil: youtu.be/pwq7F5DeQnI
⚫ Enemy Roaming AI: youtu.be/3hXkdARwREo

📱 Let's stay connected
YouTube: youtube.com/c/LlamAcademy
Patreon: patreon.com/llamacademy
Facebook: facebook.com/LlamAcademyOfficial
Twitter: twitter.com/TheLlamAcademy
TikTok: tiktok.com/@LlamAcademy
Instagram: instagram.com/LlamAcademy

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: 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: 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.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment

Chapters:
00:00 What to Expect & High Level Overview
01:52 How to Take Damage (with Events!) - IDamageable.cs
02:55 Applying Damage - GunScriptableObject.cs
03:23 DamageConfigScriptableObject.cs - What you might do, and what we will do instead
05:45 Applying Damage with Damage Config - GunScriptableObject.cs
06:06 Taking Damage & Dying - EnemyHealth.cs
07:34 Simple Destruction - SpawnParticleSystemOnDeath.cs
08:15 Hooking up Damage & Death Events - Enemy.cs
09:16 Enemy Setup
10:15 Destructible Object Setup
10:48 Damage Config Creation & Use in GunScriptableObject
12:05 Demo - We need aiming!
12:22 Extremely Simple, not accurate aiming
12:40 Demo with Aiming
13:20 Final Thoughts & Become a Supporter!
Animation-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 TutorialCompositional Relationships - Youve Already Been Using Them | Unity C# Basics 7 | Unity TutorialJust another day using VSCode to write basic C# code...Visualize Raycasts, Paths, and More in the Scene View with Editor Scripting | Unity Tutorial #shortsRuntime NavMesh Updates in Performance Critical Contexts | Unity TutorialScriptableObjects, Explained #ShortsPOV - Setting up Inverse Kinematics on a new model for the first time #gamedevWho, me? 2022 Compilation #shortsData Persistence - Save & load your game state while avoiding common mistakes | Unity Tutorial
LlamAcademy |

Animation-driven Reloading | Gun Series 4 | Unity Tutorial #shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER