Class PathUtility
A utility class for executing path-related operations
Namespace: Unity.AnimeToolbox
Syntax
public static class PathUtility
Methods
GetDirectoryName(String, Int32)
Get directory name n-levels up as specified by the parameter
Declaration
public static string GetDirectoryName(string path, int n = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | the base path |
| Int32 | n | how many levels up |
Returns
| Type | Description |
|---|---|
| String | the directory name |