Method NearestValidDestination
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
NearestValidDestination(NavMeshAgent, Vector3)
public static Vector3 NearestValidDestination(this NavMeshAgent agent, Vector3 destination)
Parameters
agent
NavMeshAgentdestination
Vector3
Returns
- Vector3