This is a paid asset, but now you can download Advanced Enemy AI for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
For more detail this asset from the Unity Asset Store: Click Here
Advanced Enemy AI v3.0
“If possible, please buy the package to support the developer”
Have you ever wanted to quickly give NPCs the power to see, hear and detect player movement? AEAI allows you to do so without writing a single line of code, at the same time providing an easy to use API for integration with your pre-existing code. Built with simplicity and ease of use in mind, advanced intelligence for your game entities is only a click away. AEAI also comes with its own player and NPC health system, as well as a player damage system for hostile NPCs. Some features of this asset include: Patrol, detect (sight and hearing), chase, seek, attack/shoot/melee, retreat, support for animations, support for sounds, visual debugging, proper documentation and many more.