SaveGame.GetDirectories

Description

Retrieves the directories from the specified identifier.

Check out DirectoryInfo for more information.

Parameters

Name Type Description Required
identifier string The identifier to retrieve directories from required
settings SaveGameSettings The optional settings optional

Returns

Returns the directories information if the specified path exists.

Examples

Retrieving Directories from Main Directory

DirectoryInfo[] directories = SaveGame.GetDirectories ();

Retrieving Directories from a Directory

DirectoryInfo[] directories = SaveGame.GetDirectories ( "myFolder" );