public string GetFolderPathMap(string fileName) { return Path.Combine(GetMapPath(), fileName); }
public void Finish() { var filePath = _mapFileName.EndsWith(".json", StringComparison.OrdinalIgnoreCase) ? _mapFileName : _mapFileName + ".json"; File.WriteAllText(_filePathExporter.GetFolderPathMap(filePath), JsonUtility.ToJson(_mapModel, true)); }