Easy AI C# Enemy Wander-Pursue-Attack

You are here:
Estimated reading time: 2 min

First Bake a nav mesh.

Now add to your enemy a:

Nav Mesh Agent

Can See Object

Set Destination


Now create a new script with the following code and add it to your enemy.

Set the target of this script.

Was this article helpful?
Dislike 0
Views: 108