ResourcePathAttribute(string, SearchType)
Creates a new ResourcePathAttribute for a single resource. Defaults to Project resource path location.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public ResourcePathAttribute(string path, SearchType location = SearchType.ProjectPath)
Parameters
Path targetting the resource
Specify if the given paths are from the builtin, builtinExtra or project resources.