# FilePathAttribute.Location

> Specifies the folder location that Unity uses together with the relative path provided in the FilePathAttribute constructor.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum FilePathAttribute.Location
```

## Fields

| Value                                                                                                            | Description                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| [PreferencesFolder](/engine/6000.5/script-reference/unityeditor/filepathattribute/location/preferencesfolder.md) | Use this location to save a file relative to the preferences folder. Useful for per-user files that are across all projects. |
| [ProjectFolder](/engine/6000.5/script-reference/unityeditor/filepathattribute/location/projectfolder.md)         | Use this location to save a file relative to the Project Folder. Useful for per-project files (not shared between projects). |
