DeleteAll

bool DeleteAll()

Purpose: Deletes all files in the configured save directory.

Parameters: None.

Return Value: Returns true if the deletion of the directory was successful, false otherwise.

public void DeleteAll()
{
    bool result = _dataPersistenceService.DeleteAll();
}

Last updated