跳到主要内容

Class EditorPathUtility

Methods

GetNormalizedPath(string path)

public static string GetNormalizedPath(string path)

GetNormalizedDirectory(string directory)

public static string GetNormalizedDirectory(string directory)

AssetsPathToFullPath(string relativeAssetsPath, [bool normalized = true])

Converts the relativeAssetsPath to a full path.

public static string AssetsPathToFullPath(string relativeAssetsPath, [bool normalized = true])

ProjectPathToFullPath(string relativeProjectPath, [bool normalized = true])

Converts the relativeProjectPath to a full path.

public static string ProjectPathToFullPath(string relativeProjectPath, [bool normalized = true])

FullPathToProjectPath(string fullPath, [bool normalized = true])

Converts the fullPath to a path relative to project.

public static string FullPathToProjectPath(string fullPath, [bool normalized = true])

ProjectPathToAssetsPath(string relativeProjectPath, [bool normalized = true])

Converts the relativeProjectPath to a path relative to assets.

public static string ProjectPathToAssetsPath(string relativeProjectPath, [bool normalized = true])

Combine(string path1, string path2, [bool normalized = true])

public static string Combine(string path1, string path2, [bool normalized = true])