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