Weapon Damage Component - Multi-Weapon System in Unity - Part 12
Автор: Bardent
Загружено: 2023-01-25
Просмотров: 3583
In this video we create our 4th weapon component. The damage component. We also do a little cheeky refactoring.
Discord Server:
/ discord
If you wish to support me more:
/ bardent
GitHub link for this part:
https://github.com/Bardent/Weapon-Sys...
Weapon System Series:
• 2D Multi-Weapon System - Unity
All Assets:
https://drive.google.com/drive/folder...
GitHub Repo Link:
https://github.com/Bardent/Weapon-Sys...
Player Controller Series:
• 2D Platformer Controller
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!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: