Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public ResourcePathAttribute(string path, SearchType location = SearchType.ProjectPath)

Parameters

path

Path targetting the resource

location

Specify if the given paths are from the builtin, builtinExtra or project resources.