Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

ResourcePathAttribute

class in UnityEngine.Rendering

/

Inherits from:Rendering.ResourcePathsBaseAttribute

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.