Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

[AttributeUsage(AttributeTargets.Class)]public class FilePathAttribute : Attribute, _Attribute

Remarks

Additional Resources: ScriptableSingleton<T>.

Enums

Enum

Description

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

Inheritance

Inherited Members