mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-15 07:56:41 +08:00
Add some CSConsole interactions, some UI Cleanups
This commit is contained in:
@ -13,7 +13,12 @@ namespace UnityExplorer
|
||||
|
||||
public static string EnsureValidDirectory(string path)
|
||||
{
|
||||
return string.Concat(path.Split(invalidDirectoryCharacters));
|
||||
path = string.Concat(path.Split(invalidDirectoryCharacters));
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
public static string EnsureValidFilename(string filename)
|
||||
|
Reference in New Issue
Block a user