Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourcePathAttribute

This attribute is used to describe what path to the asset should be used.
Read time 3 minutesLast updated 5 days ago

Definition

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.

Inheritance

Inherited Members