public FilePathExporter(string gameModePath, bool createMissingFolders)
{
_gameModePath = string.IsNullOrEmpty(gameModePath) ? Environment.GetFolderPath(Environment.SpecialFolder.Desktop): gameModePath;
if (createMissingFolders)
{
if (!Directory.Exists(_gameModePath)) Directory.CreateDirectory(_gameModePath);
var mapPath = GetMapPath();
if (!Directory.Exists(mapPath)) Directory.CreateDirectory(mapPath);
var modelsPath = GetModelsPath();
if (!Directory.Exists(modelsPath)) Directory.CreateDirectory(modelsPath);
}
}