Back to Browse

Weapon Damage Component - Multi-Weapon System in Unity - Part 12

3.7K views
Jan 25, 2023
26:28

In this video we create our 4th weapon component. The damage component. We also do a little cheeky refactoring. Discord Server: https://discord.gg/uHQrf7K If you wish to support me more: https://www.patreon.com/Bardent GitHub link for this part: https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity/tree/84841420b4f06af1988df713fb97dd43ed885ec3 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:40 - The 3 new scripts we need 01:02 - Creating the AttackDamage class 02:05 - Creating the DamageData class 02:40 - Creating the Damage weapon component class 03:10 - How the Damage component will work 04:02 - Creating the handler function 05:39 - Subscribing to the OnDetectCollider2D event 07:13 - Setup and Testing in Unity 08:34 - Explaining the IDamageable Interface 09:53 - The Combat Core Component 10:55 - Refactoring the Combat Core Component to satisfy SOLID 19:40 - Implementing the Damage Logic 21:15 - Final Unity Fixes 25:03 - Next time on dragon ball z!

Download

0 formats

No download links available.

Weapon Damage Component - Multi-Weapon System in Unity - Part 12 | NatokHD