How to Build an RTS in Unity - Episode 6 - Basic Attack Logic
MattGameDevGuy
0:00 / 0:00
How to Build an RTS in Unity - Episode 6 - Basic Attack Logic
1 778 просмотров · 1 год назад
MattGameDevGuy
657 подписчиков
1 778 просмотров · 1 год назад
This is the sixth episode of my tutorial series on How to Build an RTS in Unity.
In this episode, we'll be covering basic attack logic.
It would be great if you could Wishlist my RTS, Fungal Front, on Steam (Link below).
Fungal Front on Steam:
https://store.steampowered.com/app/21...
Fungal Front Discord:
/ discord
Follow me on X:
https://x.com/mattgamedevguy
00:00 Intro
00:30 An update on Fungal Front
01:30 Adding an attacking range collider
02:45 Adjusting project physics settings
03:10 Creating an AttackingRange script
03:50 Creating an enum for Team
04:30 Setting up AttackingRange script
06:45 Testing attacking range
07:24 Creating prefab variants for both teams
10:06 Setting up the rifle firing animation
13:14 Targeting units in range
18:00 Last tests to make sure unit looks at target in range
18:30 Outro