Function NavmeshBase.FindNodeAroundVertex

FindNodeAroundVertex (TriangleMeshNode node, TriangleMeshNode targetNode, Int3 vertexInGraphSpace, bool oppositeDirection)

Start at node, then walk around the given vertex and see if targetNode is reachable by doing this.

Private Static
bool FindNodeAroundVertex (

TriangleMeshNode

node

The node to start from

TriangleMeshNode

targetNode

The node to check if it is reachable

Int3

vertexInGraphSpace

The vertex to walk around

bool

oppositeDirection

If true, walk in the opposite direction around the vertex

)

Start at node, then walk around the given vertex and see if targetNode is reachable by doing this.

Return

True if the target node is reachable