Back to API Reference
Enum

DocumentPathRoot

Folder a FileDocumentSource path is relative to.

public static readonly DocumentPathRoot Absolute = 0

The path is complete on its own.

public static readonly DocumentPathRoot StreamingAssets = 1

streamingAssetsPath: files shipped with the build; a URL inside the package on Android and on the web.

public static readonly DocumentPathRoot PersistentData = 2

persistentDataPath: the writable per-user folder.

public static readonly DocumentPathRoot Data = 3

dataPath: the Assets folder in the editor, the player's data folder in a build.

public static readonly DocumentPathRoot TemporaryCache = 4

temporaryCachePath: downloads and other disposable files.