文档

Unity Engine

Unity Engine

ResourcePathsAttribute

Attribute specifying information about the paths where these resources are located.
阅读时间3 分钟最后更新于 1 个月前

Definition

public sealed class ResourcePathsAttribute : ResourcePathsBaseAttribute

Remarks

This is only used in the editor and doesn't have any effect at runtime. See IRenderPipelineResources for usage.

Constructors

Constructor

Description

ResourcePathsAttribute(System.String[],UnityEngine.Rendering.SearchType)Creates a new ResourcePathsAttribute for an array's elements by specifying each resource. Defaults to Project resource path location.

Inheritance

Inherited Members