Struct NavMeshGraphHeuristic
Implements
Namespace: AnyPath.Graphs.NavMesh
Assembly: AnyPath.dll
Syntax
public struct NavMeshGraphHeuristic : IHeuristicProvider<NavMeshGraphLocation>
Methods
Heuristic(NavMeshGraphLocation)
Declaration
public float Heuristic(NavMeshGraphLocation a)
Parameters
Type | Name | Description |
---|---|---|
NavMeshGraphLocation | a |
Returns
Type | Description |
---|---|
float |
SetGoal(NavMeshGraphLocation)
Declaration
public void SetGoal(NavMeshGraphLocation goal)
Parameters
Type | Name | Description |
---|---|---|
NavMeshGraphLocation | goal |