Documentation

Unity Engine

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 2 months ago

Definition

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

Parameters

Paths targetting the resources

location

The lookup method