Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FilePathAttribute.Location

Specifies the folder location that Unity uses together with the relative path provided in the FilePathAttribute constructor.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum FilePathAttribute.Location

Fields

Value

Description

PreferencesFolderUse this location to save a file relative to the preferences folder. Useful for per-user files that are across all projects.
ProjectFolderUse this location to save a file relative to the Project Folder. Useful for per-project files (not shared between projects).