public void SavePathUtils() { if (textureGrid == null) { return; } PathData.SavePathJPG(outFileName, textureGrid); PathData.SavePathData(outFileName, textureGrid); }