Version: 2023.1

Location

enumeration

切换到手册

描述

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

变量

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).