Table of Contents

Method NearestValidDestination

Namespace
_GrindFest.Scripts
Assembly
GrindFest.dll

NearestValidDestination(NavMeshAgent, Vector3)

public static Vector3 NearestValidDestination(this NavMeshAgent agent, Vector3 destination)

Parameters

agent NavMeshAgent
destination Vector3

Returns

Vector3