GetNearest() public method

public GetNearest ( Vector3 position ) : NNInfo
position Vector3
return NNInfo
 private bool isGraphWalkable(NavGraph graph)
 {
     var nearestNode = graph.GetNearest(PositionToCheck);
     return nearestNode.node != null && nearestNode.node.Walkable;
 }