Utility class for handling Directories
More...
|
| static bool | Exists (string fullPath) |
| | Checks if a directory exists More...
|
| |
| static bool | ExistsRelative (string relativePath) |
| | Checks if a directory exists. Appends the relativePath to Application.dataPath More...
|
| |
| static string[] | GetFiles (string fullPath) |
| | Returns the names of files(including their paths) in the directory More...
|
| |
| static string[] | GetFilesRelative (string relativePath) |
| | Appends the relativePath to Application.dataPath More...
|
| |
|
static void | DeleteAllFilesAndFolders (string folderPath, bool recursive=true, bool isTop=true) |
| |
| static bool | Create (string fullPath) |
| | Creates a directory More...
|
| |
| static bool | CheckAndCreate (string fullPath) |
| | Checks the folder and creates it if it does not exist, only returns false if the directory failed to create More...
|
| |
| static bool | CreateRelative (string relativePath) |
| | Appends the relativePath to Application.dataPath More...
|
| |
Utility class for handling Directories
| static bool SmartLocalization.Editor.DirectoryUtility.CheckAndCreate |
( |
string |
fullPath | ) |
|
|
static |
Checks the folder and creates it if it does not exist, only returns false if the directory failed to create
| static bool SmartLocalization.Editor.DirectoryUtility.Create |
( |
string |
fullPath | ) |
|
|
static |
Creates a directory
- Parameters
-
| fullPath | The path where the directory should be created |
- Returns
- If the directory was created
| static bool SmartLocalization.Editor.DirectoryUtility.CreateRelative |
( |
string |
relativePath | ) |
|
|
static |
Appends the relativePath to Application.dataPath
| static bool SmartLocalization.Editor.DirectoryUtility.Exists |
( |
string |
fullPath | ) |
|
|
static |
Checks if a directory exists
- Parameters
-
| fullPath | The full path to the directory |
- Returns
- If the directory exists
| static bool SmartLocalization.Editor.DirectoryUtility.ExistsRelative |
( |
string |
relativePath | ) |
|
|
static |
Checks if a directory exists. Appends the relativePath to Application.dataPath
| static string [] SmartLocalization.Editor.DirectoryUtility.GetFiles |
( |
string |
fullPath | ) |
|
|
static |
Returns the names of files(including their paths) in the directory
| static string [] SmartLocalization.Editor.DirectoryUtility.GetFilesRelative |
( |
string |
relativePath | ) |
|
|
static |
Appends the relativePath to Application.dataPath
The documentation for this class was generated from the following file:
- Assets/SmartLocalization/Scripts/Editor/FileSystem/DirectoryUtility.cs