Learn how to create a Gun Attachment System in Unity. We'll be leaning heavily on systems built earlier videos in the series - specifically 8 ( • Dynamic Modifier System for Guns to S... ) and 9 ( • Explosive and Frost Round Configurati... !
Adding attachments gives your players the opportunity to customize their experience in your game which adds some significant depth. In this video, learn how to do the data modeling for attachments and create the UI to enable your players to customize their guns with attachments!
💸 Ongoing sales 💸
⚫ Check out the latest Humble Bundles https://www.humblebundle.com/software...
⚫ Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe...
⚫ 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:
⚫ Modifier System: • Dynamic Modifier System for Guns to S...
⚫ Configurable Ammo Types like Explosive / Frost Rounds: • Explosive and Frost Round Configurati...
⚫ UI Toolkit Docs: https://docs.unity3d.com/Manual/UIEle...
❤ 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
Chapters:
00:00 Topic Introduction
00:37 System Overview
02:09 Page Overview
04:11 Reusable Component: Attachment Slot UI
06:05 Backing Class for Reusable Component - AttachmentSlot.cs
09:25 Data Model for Attachments - Attachment.cs
10:27 Dynamically Add Slot UI to Page
12:50 Disable User Input
14:29 Slot Enum Creation
14:40 Show Dynamic Attachments Per Slot
18:24 Selecting Attachments
21:39 Applying Attachment Modifiers to a Gun
24:23 Show/Hide Cursor
24:45 More Attachment Options
27:27 Allow Hiding of Attachment Options
28:08 Final Thoughts & Support LlamAcademy
Смотрите видео Gun Attachment System | Gun Series 10 | Unity Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LlamAcademy 16 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,809 раз и оно понравилось 159 людям.