void RemoveLastCoordinates() { for (int i = 0; i < LastCoordinates.Count; i++) { GridNode node = LastCoordinates[i]; node.RemoveObstacle(); } LastCoordinates.FastClear(); }
void RemoveLastCoordinates() { for (int i = 0; i < LastCoordinates.Count; i++) { GridNode node = LastCoordinates[i]; node.RemoveObstacle(); } LastCoordinates.FastClear(); }