Weapon Movement - Multi-Weapon System in Unity - Part 7
In this part we take a look at how we can define what a weapons movement should look like. We do this by creating a Movement weapon component that listens for animations events and uses the characters core to make it move.
All Assets:
https://drive.google.com/drive/folders/17JbMy70gbXLcPYrIIpwYt7xJmKngu0oB?usp=sharing
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/ace4485e0309eb4f21a39c3dd7708dc36797dbe2
GitHub Repo Link:
https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity
Player Controller Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjA0zDBhLuLNL1Jo6xNMMq-W
All Assets:
https://drive.google.com/drive/folders/17JbMy70gbXLcPYrIIpwYt7xJmKngu0oB?usp=sharing
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/f1e40c39c4d3133f37287b517fbe1d25d60716e8
GitHub Repo Link:
https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity
Weapon System Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjDeHVYh8SMjEP1B_MdSLCSz
Player Controller Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjA0zDBhLuLNL1Jo6xNMMq-W
00:00 - Introduction
00:30 - Creating the Movement Weapon Component
00:55 - Changing the Core system's namespace
03:15 - How does the Movement Weapon Component Work?
03:55 - Creating the Start and Stop Movement events
05:18 - Accessing the AnimationEventHandler in weapon components
06:35 - Subscribing to the events in Movement
08:09 - Creating MovementData class
10:05 - Creating the MovementData class
10:57 - Referencing the Core From Weapon
14:11 - Setting the Core Reference
15:13 - Referencing the Movement Core Component
17:48 - Referencing MovementData in Movement
19:47 - Adding Movement Data to Weapon Data List
20:47 - Fix SO Asset Issues because of renaming
22:54 - Adding MovementData to List
24:01 - Adding Movement Components to the Weapons
24:34 - Setting up the Animation Events
25:45 - Testing Attempt 1 :)
26:02 - Fixing Sequencing Issue
27:36 - Testing Attempt 2 :D
28:05 - Final Thoughts
29:05 - Outro
Видео Weapon Movement - Multi-Weapon System in Unity - Part 7 канала Bardent
All Assets:
https://drive.google.com/drive/folders/17JbMy70gbXLcPYrIIpwYt7xJmKngu0oB?usp=sharing
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/ace4485e0309eb4f21a39c3dd7708dc36797dbe2
GitHub Repo Link:
https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity
Player Controller Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjA0zDBhLuLNL1Jo6xNMMq-W
All Assets:
https://drive.google.com/drive/folders/17JbMy70gbXLcPYrIIpwYt7xJmKngu0oB?usp=sharing
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/f1e40c39c4d3133f37287b517fbe1d25d60716e8
GitHub Repo Link:
https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity
Weapon System Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjDeHVYh8SMjEP1B_MdSLCSz
Player Controller Series:
https://www.youtube.com/playlist?list=PLy78FINcVmjA0zDBhLuLNL1Jo6xNMMq-W
00:00 - Introduction
00:30 - Creating the Movement Weapon Component
00:55 - Changing the Core system's namespace
03:15 - How does the Movement Weapon Component Work?
03:55 - Creating the Start and Stop Movement events
05:18 - Accessing the AnimationEventHandler in weapon components
06:35 - Subscribing to the events in Movement
08:09 - Creating MovementData class
10:05 - Creating the MovementData class
10:57 - Referencing the Core From Weapon
14:11 - Setting the Core Reference
15:13 - Referencing the Movement Core Component
17:48 - Referencing MovementData in Movement
19:47 - Adding Movement Data to Weapon Data List
20:47 - Fix SO Asset Issues because of renaming
22:54 - Adding MovementData to List
24:01 - Adding Movement Components to the Weapons
24:34 - Setting up the Animation Events
25:45 - Testing Attempt 1 :)
26:02 - Fixing Sequencing Issue
27:36 - Testing Attempt 2 :D
28:05 - Final Thoughts
29:05 - Outro
Видео Weapon Movement - Multi-Weapon System in Unity - Part 7 канала Bardent
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Tracking and Using Hold Input - Multi-Weapon System in Unity - Part 17](https://i.ytimg.com/vi/jT4_ExDpV4c/default.jpg)
![Bows and Attack Phases - Multi-Weapon System in Unity - Part 16](https://i.ytimg.com/vi/1aqEXLn_PEY/default.jpg)
![The Poise Damage Component - Multi-Weapon System in Unity - Part 15](https://i.ytimg.com/vi/ZYLrp4cmCek/default.jpg)
![Weapon KNOCKBACK component - Multi-Weapon System in Unity - Part 14](https://i.ytimg.com/vi/QRtoZUYl6uw/default.jpg)
![What can I create after 4 YEARS of learning Unity? - Ukraine Winter Game Jam](https://i.ytimg.com/vi/AzU8YYtGYJ4/default.jpg)
![Automating building Weapon GameObjects - Multi-Weapon System in Unity - Part 13](https://i.ytimg.com/vi/K1ymDs4mzzg/default.jpg)
![Weapon Damage Component - Multi-Weapon System in Unity - Part 12](https://i.ytimg.com/vi/23L0jbcgEr0/default.jpg)
![Organizing our custom inspector! - Multi-Weapon System in Unity - Part 11](https://i.ytimg.com/vi/llpvIIDOnWA/default.jpg)
![Creating a component to detect enemies! - Multi-Weapon System in Unity - Part 10B](https://i.ytimg.com/vi/AgmBIHlD12k/default.jpg)
![Creating a component to detect enemies! - Multi-Weapon System in Unity - Part 10](https://i.ytimg.com/vi/j2OCes42qvg/default.jpg)
![Create Inspector Buttons w/ Editor Scripting and Reflection - Multi-Weapon System in Unity - Part 9](https://i.ytimg.com/vi/Ubuu4ZoTb5Y/default.jpg)
![Cutting down on code with Generics - Multi-Weapon System in Unity - Part 8](https://i.ytimg.com/vi/OWri_6o7JCA/default.jpg)
![Separating weapon logic and data - Multi-Weapon System in Unity - Part 6](https://i.ytimg.com/vi/cqHNo8um59U/default.jpg)
![Changing Weapon Sprites - Multi-Weapon System in Unity - Part 5](https://i.ytimg.com/vi/zt6odfLBUmw/default.jpg)
![Playing different attack animations - Multi-Weapon System in Unity - Part 4](https://i.ytimg.com/vi/_5yh_zpzeck/default.jpg)
![Using animation events to finish an attack - Multi-Weapon System in Unity - Part 3](https://i.ytimg.com/vi/wW0hX2QHL-8/default.jpg)
![Weapon Setup - Multi-Weapon System in Unity - Part 2](https://i.ytimg.com/vi/816ttZXUhN0/default.jpg)
![System Overview! - Multi-Weapon System in Unity - Part 1](https://i.ytimg.com/vi/DYx9OC39his/default.jpg)
![The End of the Series - 2D Platformer Player Controller - Part 37](https://i.ytimg.com/vi/0KUrQ6itdOg/default.jpg)
![The Death Core Component - 2D Platformer Player Controller - Part 36B](https://i.ytimg.com/vi/eviL2Z2lwEo/default.jpg)