Function NavGraph.AssertSafeToUpdateGraph
AssertSafeToUpdateGraph
()
Throws an exception if it is not safe to update internal graph data right now.
Protected
void AssertSafeToUpdateGraph ()
Throws an exception if it is not safe to update internal graph data right now.
It is safe to update graphs when graphs are being scanned, or inside a work item. In other cases pathfinding could be running at the same time, which would not appreciate graph data changing under its feet.