This was created just as an experiment really, following a tutorial here: https://www.youtube.com/watch?v=DcJSz5c4VGk Pathfinding in Unity works by using a navmesh ...
This Unity project demonstrates the use of NavMesh AI Agents. Your objective is to collect all the yellow blocks while avoiding the red enemy to win the game.