public override void Cleanup () { int c = allNodes.Count; for (int i=0;i<c;i++) pathHandler.GetPathNode (allNodes[i]).flag1 = false; }