Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourceFormattedPathsAttribute(string, int, int, SearchType)

Creates a new ResourceFormattedPathsAttribute for an array's elements using formatted path names.
Read time 1 minuteLast updated 7 days ago

Definition

public ResourceFormattedPathsAttribute(string pathFormat, int rangeMin, int rangeMax, SearchType location = SearchType.ProjectPath)

Parameters

pathFormat

The format used for the path with a varying index.

rangeMin

The varying index start value (included)

rangeMax

The varying index end value (excluded)

location

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