Learn-unity3d-beginner
Lesson 11
Lesson 11: Build a Mini Puzzle Game Part 2 — Simple Enemy AI Patrolling Between Waypoints
Add a simple enemy to your puzzle level — an AI that patrols back and forth between waypoints, detects the player on contact, and resets the level. No NavMesh required, just Transform movement and arrays.