FileHelpers Class |
Namespace: ImmerseSDK
public static class FileHelpers
The FileHelpers type exposes the following members.
Name | Description | |
---|---|---|
CopyFilesRecursively(String, String) |
Copy all the files found from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
| |
CopyFilesRecursively(String, String, String) |
Copy all the files found with the wildcard from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
| |
DeleteEverything(String) |
Delete all files and folders in the path specified
| |
DeleteEverything(String, Boolean) |
Delete all files and folders in the path specified
| |
EnsureNotReadonly |
Ensure file is not read-only
| |
FixSlashesforPlatform |
Replace the AltDirectorySeparatorChar with the DirectorySeparatorChar for the platform
| |
FixSlashesforUnity |
Replace the '\\' with '/' so Unity does not complain
|