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