Dynamic Modifier System for Guns to Support Attachments | Gun Series 8 | Unity Tutorial

Опубликовано: 12 Октябрь 2024
на канале: LlamAcademy
3,053
203

Full Tutorial:    • Dynamic Modifier System for Guns to S...  

Create a dynamic gun modifier system to enable runtime property changes of your guns! We'll also cover how to prevent ScriptableObjects from persisting these changes in the editor.

In this video we'll set up a modifier system and implement 2 popular modifiers:
1. Damage Modifier, which allows us to raise or lower the damage of any gun when it's applied.
2. Vector3Modifier, which allows us to apply a percentage offset to any Vector3, such as the Bullet Spread amount.

💸 Ongoing sales 💸
⚫ Epic Royalty Free Music Collection Humble Bundle: https://www.humblebundle.com/software...
⚫ Unity RPG Course from GameDev.tv: https://www.humblebundle.com/software...
⚫ Aquarius Max Publisher Sale! 50% OFF all Aquarius Max's Assets! https://assetstore.unity.com/publishe...
⚫ FREE Ultimate Medieval Constructor Asset with Promo Code: AQUARIUS https://assetstore.unity.com/packages...
⚫ See all active asset sales on the Asset Store: https://assetstore.unity.com/?on_sale...
⚫ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC...
⚫ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal...

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/script...

📚 Resources:
⚫ Reflection: https://learn.microsoft.com/en-us/dot...
⚫ Type Class: https://learn.microsoft.com/en-us/dot...
⚫ FieldInfo: https://learn.microsoft.com/en-us/dot...
⚫ ICloneable: https://learn.microsoft.com/en-us/dot...

❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
⚫ Patreon:   / llamacademy  
⚫ YouTube Member:    / @llamacademy   or click the Join button on any video

📱 Let's stay connected
YouTube:    / llamacademy  
Patreon:   / llamacademy  
Facebook:   / llamacademyofficial  
Twitter:   / thellamacademy  
TikTok:   / llamacademy  
Instagram:   / 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/publishe...
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