Table of Contents

Class PathExtensions

Namespace
Glitch9

Dealing the path in Unity can be very painful. This class provides a set of extensions to make it easier to work with file paths in Unity. (It's still painful, but at least it's easier.)

public static class PathExtensions
Inheritance
PathExtensions
Inherited Members

Methods

ToAbsolutePath(string)

Gets the full local path (starting with C:/ or D:/) for a UnityFilePath object.

public static string ToAbsolutePath(this string path)

Parameters

path string

The UnityFilePath object

Returns

string

The resolved local path as a string