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/2150890/Fungal_Front/ Fungal Front Discord: https://discord.gg/3Cg7kEc5 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