Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Directory

Exposes static methods for directory operations.
Read time 1 minuteLast updated 5 days ago

Definition

public static class Directory

Remarks

This is an alternative to System.IO.Directory class. Note: this class is only available when targeting Universal Windows Platform.

Static Properties

Property

Description

localFolderReturns a path to local folder.
roamingFolderReturns a path to roaming folder.
temporaryFolderReturns a path to temporary folder.

Static Methods

Method

Description

CreateDirectoryCreates directory in the specified path.
DeleteDeletes a directory from a specified path.
ExistsDetermines whether the given path refers to an existing directory.