ResourcePathAttribute
This attribute is used to describe what path to the asset should be used.
Read time 3 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Inherits from: ResourcePathsBaseAttribute
public sealed class ResourcePathAttribute : ResourcePathsBaseAttribute
Remarks
This is only used in the editor and doesn't have any effect at runtime. See IRenderPipelineResources for usage.
Constructors
Constructor | Description |
|---|---|
| ResourcePathAttribute(System.String,UnityEngine.Rendering.SearchType) | Creates a new ResourcePathAttribute for a single resource. Defaults to Project resource path location. |