文档

Unity Engine

Unity Engine

ResourcePathAttribute(string, SearchType)

Creates a new ResourcePathAttribute for a single resource. Defaults to Project resource path location.
阅读时间1 分钟最后更新于 1 个月前

Definition

public ResourcePathAttribute(string path, SearchType location = SearchType.ProjectPath)

Parameters

path

Path targetting the resource

location

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