SoletekForce/Pathfinding/PathSearch.cs
/// <summary>
/// Recalls an existing search result and overlays the map with it. Overwrites the latest search.
/// </summary>
/// <returns><c>true</c>, if target cell was found, <c>false</c> otherwise.</returns>
Recalls an existing search result and overlays the map with it. Overwrites the latest search.
Recalls an existing search result and overlays the map with it . Overwrites the latest search .
public static void Overlay(TNetwork map, IPathfindResult priorResult)
		{
			latest = null;
			PopulateNodes(map);
			foreach (var node in priorResult.Nodes())
			{
				node.Host.Node.data = node.data;
			}
		}
public static void Overlay ( TNetwork map , IPathfindResult priorResult ) { latest = null ; PopulateNodes ( map ) ; foreach ( var node in priorResult . Nodes ( ) ) { node . Host . Node . data = node . data ; } }
Recalls an existing search result and overlays the map with it.
Recalls an existing search result and overlays the map with it .
None
map
TNetwork
priorResult
IPathfindResult