ResourcePathAttribute
This attribute is used to describe what path to the asset should be used.
읽는 시간 3분최근 업데이트: 한 달 전
Definition
- Type: Class
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Inherits from: ResourcePathsBaseAttribute
- Implements: _Attribute
public sealed class ResourcePathAttribute : ResourcePathsBaseAttribute, _Attribute
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. |