Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourcePathsAttribute(string[], SearchType)

Creates a new ResourcePathsAttribute for an array's elements by specifying each resource. Defaults to Project resource path location.
Read time 1 minuteLast updated 6 days ago

Definition

public ResourcePathsAttribute(string[] paths, SearchType location = SearchType.ProjectPath)

Parameters

Paths targetting the resources

location

The lookup method