|
static string | GetFileNameAndExtension (string path) |
|
static string | GetFileNameWithoutExtension (string path) |
|
static string | GetExtension (string path) |
|
static string | UseUnityPathSeparator (string path) |
|
static string | UseSystemPathSeparator (string path) |
|
static string | GetDirectoryName (string path) |
|
static string | RemoveAssetFolderPrefix (string path) |
|
static string | GetSystemPath (string path) |
|
static string | GetRelativeAssetPath (string systemPath) |
|
static void | CreateDirectory (string path) |
|
static string | PrefixAssetFolder (string path) |
| Prefix the path with "Assets/". Assumes directory separator is '/'. More...
|
|
static string | ChangeExtension (string path, string extension) |
|
static string | ChangeName (string path, string newName) |
|
static string | ChangeNameAndExtension (string path, string newName, string newExt) |
|
static string | AddSuffix (string path, string suffix) |
|
static string | AddPrefix (string path, string prefix) |
|
static string | AddSubfolderToPath (string path, string subfolder) |
|
static string | Combine (string dir, string name) |
|
static string | Combine (string dir, string name, string ext) |
|
◆ AddPrefix()
static string Megapop.MegaCore.PathUtil.AddPrefix |
( |
string |
path, |
|
|
string |
prefix |
|
) |
| |
|
inlinestatic |
◆ AddSubfolderToPath()
static string Megapop.MegaCore.PathUtil.AddSubfolderToPath |
( |
string |
path, |
|
|
string |
subfolder |
|
) |
| |
|
inlinestatic |
◆ AddSuffix()
static string Megapop.MegaCore.PathUtil.AddSuffix |
( |
string |
path, |
|
|
string |
suffix |
|
) |
| |
|
inlinestatic |
◆ ChangeExtension()
static string Megapop.MegaCore.PathUtil.ChangeExtension |
( |
string |
path, |
|
|
string |
extension |
|
) |
| |
|
inlinestatic |
◆ ChangeName()
static string Megapop.MegaCore.PathUtil.ChangeName |
( |
string |
path, |
|
|
string |
newName |
|
) |
| |
|
inlinestatic |
◆ ChangeNameAndExtension()
static string Megapop.MegaCore.PathUtil.ChangeNameAndExtension |
( |
string |
path, |
|
|
string |
newName, |
|
|
string |
newExt |
|
) |
| |
|
inlinestatic |
◆ Combine() [1/2]
static string Megapop.MegaCore.PathUtil.Combine |
( |
string |
dir, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
◆ Combine() [2/2]
static string Megapop.MegaCore.PathUtil.Combine |
( |
string |
dir, |
|
|
string |
name, |
|
|
string |
ext |
|
) |
| |
|
inlinestatic |
◆ CreateDirectory()
static void Megapop.MegaCore.PathUtil.CreateDirectory |
( |
string |
path | ) |
|
|
inlinestatic |
◆ GetDirectoryName()
static string Megapop.MegaCore.PathUtil.GetDirectoryName |
( |
string |
path | ) |
|
|
inlinestatic |
◆ GetExtension()
static string Megapop.MegaCore.PathUtil.GetExtension |
( |
string |
path | ) |
|
|
inlinestatic |
◆ GetFileNameAndExtension()
static string Megapop.MegaCore.PathUtil.GetFileNameAndExtension |
( |
string |
path | ) |
|
|
inlinestatic |
◆ GetFileNameWithoutExtension()
static string Megapop.MegaCore.PathUtil.GetFileNameWithoutExtension |
( |
string |
path | ) |
|
|
inlinestatic |
◆ GetRelativeAssetPath()
static string Megapop.MegaCore.PathUtil.GetRelativeAssetPath |
( |
string |
systemPath | ) |
|
|
inlinestatic |
◆ GetSystemPath()
static string Megapop.MegaCore.PathUtil.GetSystemPath |
( |
string |
path | ) |
|
|
inlinestatic |
◆ PrefixAssetFolder()
static string Megapop.MegaCore.PathUtil.PrefixAssetFolder |
( |
string |
path | ) |
|
|
inlinestatic |
Prefix the path with "Assets/". Assumes directory separator is '/'.
◆ RemoveAssetFolderPrefix()
static string Megapop.MegaCore.PathUtil.RemoveAssetFolderPrefix |
( |
string |
path | ) |
|
|
inlinestatic |
◆ UseSystemPathSeparator()
static string Megapop.MegaCore.PathUtil.UseSystemPathSeparator |
( |
string |
path | ) |
|
|
inlinestatic |
◆ UseUnityPathSeparator()
static string Megapop.MegaCore.PathUtil.UseUnityPathSeparator |
( |
string |
path | ) |
|
|
inlinestatic |
◆ AssetFolderName
const string Megapop.MegaCore.PathUtil.AssetFolderName = "Assets" |
|
static |
◆ AssetFolderPrefix
const string Megapop.MegaCore.PathUtil.AssetFolderPrefix = "Assets/" |
|
static |
◆ UnityDirSeparator
const char Megapop.MegaCore.PathUtil.UnityDirSeparator = '/' |
|
static |
The documentation for this class was generated from the following file:
- source/com.megapop.megacore/package/Runtime/IO/PathUtil.cs