Uploaded December 2019 | Updated November 2026, 2 days ago
In this unity gamedev tutorial, you will learn how to setup an Enemy AI agro system using Raycast / linecast and C# for accurate enemy line of sight, enabling the enemy to look for and follow player.
Support me on Patreon (full access to all tutorial projects and more).
patreon.com/lostrelicgames
Wishlist my game Blood And Mead, it's going to be great! :)
store.steampowered.com/app/1081830/Blood_And_Mead
Previous tutorial where we setup the enemy script:
youtu.be/nEYA3hzZHJ0
● Ultimate 2D Car Game Kit for Unity:
assetstore.unity.com/packages/templates/packs/ultimate-2d-car-game-kit-160283
How to make a 2D player controller (mega man)
youtu.be/44djqUTg2Sg
#unity #gamedev #enemy #raycast #lineofsight
In this unity gamedev tutorial, you will learn how to setup an Enemy AI agro system using Raycast / linecast and C# for accurate enemy line of sight, enabling the enemy to look for and follow player.
Support me on Patreon (full access to all tutorial projects and more).
patreon.com/lostrelicgames
Wishlist my game Blood And Mead, it's going to be great! :)
store.steampowered.com/app/1081830/Blood_And_Mead
Previous tutorial where we setup the enemy script:
youtu.be/nEYA3hzZHJ0
● Ultimate 2D Car Game Kit for Unity:
assetstore.unity.com/packages/templates/packs/ultimate-2d-car-game-kit-160283
How to make a 2D player controller (mega man)
youtu.be/44djqUTg2Sg
#unity #gamedev #enemy #raycast #lineofsight










