FilePathAttribute
An attribute that specifies a file location relative to the Project folder or Unity's preferences folder. Additional Resources: FilePathAttribute.Location.
Read time 3 minutesLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Class)]public class FilePathAttribute : Attribute, _Attribute
Remarks
Additional Resources: ScriptableSingleton<T>.
Enums
Enum | Description |
|---|---|
| FilePathAttribute.Location | Specifies the folder location that Unity uses together with the relative path provided in the FilePathAttribute constructor. |