ResourcePathAttribute

class in UnityEngine.Rendering

/

Inherits from:Rendering.ResourcePathsBaseAttribute

/

Implemented in:UnityEngine.CoreModule

Description

This attribute is used to describe what path to the asset should be used.

This is only used in the editor and doesn't have any effect at runtime. See IRenderPipelineResources for usage.

Constructors

ResourcePathAttributeCreates a new ResourcePathAttribute for a single resource. Defaults to Project resource path location.

Inherited Members

Properties

isFieldDisambiguish array of 1 element and fields. As we don't store it at runtime, you cannot rely on this property for runtime operation.
locationThe lookup method. As we don't store it at runtime, you cannot rely on this property for runtime operation.
pathsSearch paths. As we don't store it at runtime, you cannot rely on this property for runtime operation.

Did you find this page useful? Please give it a rating: