GetNearest() публичный Метод

public GetNearest ( Vector3 position ) : NNInfo
position Vector3
Результат NNInfo
 private bool isGraphWalkable(NavGraph graph)
 {
     var nearestNode = graph.GetNearest(PositionToCheck);
     return nearestNode.node != null && nearestNode.node.Walkable;
 }