Make navmesh agent sneak

Im thinking of buying this, however I need to know if there’s a way to make an agent to take a path where it avoids detection (raycast check) from other objects?


Sorry for the late answer.
There is no built in functionality for this, however you could take a look at the ITraversalProvider, potentially you could use it to add a high penalty for being within line of sight of some enemy.