mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Remove unused code
This commit is contained in:
parent
6b8d01dc01
commit
bcaecb8788
1 changed files with 0 additions and 20 deletions
|
|
@ -130,25 +130,5 @@ namespace SceneManager.Utils
|
||||||
{
|
{
|
||||||
ModifyItemInXML<List<T>>(path, t => t.Add(objectToAdd));
|
ModifyItemInXML<List<T>>(path, t => t.Add(objectToAdd));
|
||||||
}
|
}
|
||||||
|
|
||||||
///// <summary>
|
|
||||||
///// Creates folder in case it doesn't exist and checks file existance.
|
|
||||||
///// </summary>
|
|
||||||
///// <param name="path"></param>
|
|
||||||
///// <returns>false when a file does not exist.</returns>
|
|
||||||
//private static bool ValidatePath(string path)
|
|
||||||
//{
|
|
||||||
// //TODO: implement
|
|
||||||
// // - check extension
|
|
||||||
// // - bool param: createDir
|
|
||||||
// string dir = Path.GetDirectoryName(path);
|
|
||||||
// if (!Directory.Exists(dir))
|
|
||||||
// {
|
|
||||||
// Directory.CreateDirectory(dir);
|
|
||||||
// return false;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// return File.Exists(path);
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue