Back to Browse

Automating building Weapon GameObjects - Multi-Weapon System in Unity - Part 13

3.7K views
Feb 1, 2023
29:07

In this video we create our WeaponGenerator script. A script responsible for taking out weapon data and adding all weapon components it need to make it's logic work. GitHub link for this part: https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity/tree/6006dde57e922a5e58f28201e31584b624bed293 Discord Server: https://discord.gg/uHQrf7K If you wish to support me more: https://www.patreon.com/Bardent Weapon System Series: https://youtube.com/playlist?list=PLy78FINcVmjDeHVYh8SMjEP1B_MdSLCSz All Assets: https://drive.google.com/drive/folders/17JbMy70gbXLcPYrIIpwYt7xJmKngu0oB?usp=sharing GitHub Repo Link: https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity Player Controller Series: https://www.youtube.com/playlist?list=PLy78FINcVmjA0zDBhLuLNL1Jo6xNMMq-W 00:00 - Intro 00:39 - Creating the dependency in the ComponentData class 03:28 - Creating the WeaponGenerator class 04:34 - The GenerateWeapon Function 08:44 - Getting a list of dependencies 10:29 - Looping through and adding our dependencies 14:41 - Removing the unneeded components 16:28 - Refactoring our WeaponComponents to work with this 22:22 - Prefab changes 23:44 - Testing 25:53 - Resetting component data after weapon generation 27:39 - Testing again :D 28:16 - Outro

Download

0 formats

No download links available.

Automating building Weapon GameObjects - Multi-Weapon System in Unity - Part 13 | NatokHD