Function ABPathEndingCondition.TargetFound
bool TargetFound (
node  |         The current node.  | 
                |
uint  |     H  |         Heuristic score. See Pathfinding.PathNode.H  | 
                
uint  |     G  |         Cost to reach this node. See Pathfinding.PathNode.G  | 
                
Has the ending condition been fulfilled.
This is per default the same as asking if node == p.endNode