Help Needed: Creating an Enemy AI with Path Movement and Player Detection

I’m working on creating an enemy AI in Unity that follows a predefined path and attacks players when they enter its detection radius. However, I’m unsure how to start or what approach to take for implementing these mechanics effectively.
If anyone has experience with this type of enemy AI or any relevant scripts, tutorials, or tips to share, I would greatly appreciate your guidance.
Thank you in advance for your help!