ドキュメント

Unity Engine

Unity Engine

ResourceFormattedPathsAttribute(string, int, int, SearchType)

Creates a new ResourceFormattedPathsAttribute for an array's elements using formatted path names.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.