MENU

Fun & Interesting

Bows and Attack Phases - Multi-Weapon System in Unity - Part 16

Bardent 5,332 lượt xem 2 years ago
Video Not Working? Fix It Now

In this video we finally move on to the next weapon in the series: the bow. To start off, we need to make some adjustments to our WeaponSprite component so that it can accommodate attack animations that are made up of more than one animation state.

Assets for this part:
https://drive.google.com/drive/folders/1WuaCDV1M00zaxdVciyttWBTcU4yMwZqO?usp=share_link

GitHub link for this part:
https://github.com/Bardent/Weapon-System-Tutorial-Series-Unity/tree/68908ac45ec18bba595c5b36ec70ae2d3c6c01ae

Discord Server:
https://discord.gg/uHQrf7K

Patreon:
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:41 - Importing the new Sprite Sheets
02:11 - Creating the bow Animator Controller
03:10 - Storing the Animator in WeaponDataSO
06:51 - Creating the Bow_1 Data Asset
08:25 - Setting up the Animator
12:03 - Why Attack Phases?
15:43 - Adding Sprites to the Animations
17:58 - Adding Attack Phase Animation Event
19:19 - Updating the WeaponSprite Component to use AttackPhases
26:00 - Updating the Weapon Data
29:27 - Outro

Comment