Lets you do move, copy, delete operations over files or directories.
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
DeleteFileOrDirectory |
Deletes a file or a directory given a path. |
CopyFileOrDirectory |
Copies a file or a directory. |
CopyFileOrDirectoryFollowSymlinks |
Copies the file or directory. |
MoveFileOrDirectory |
Moves a file or a directory from a given path to another path. |
GetUniqueTempPathInProject |
Returns a unique path in the Temp folder within your current project. |
ReplaceFile |
Replaces a file. |
ReplaceDirectory |
Replaces a directory. |