文档

Unity Engine

Unity Engine

GetAssetPath(in SearchItem)

Returns the asset path of a search item if any.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetAssetPath(SearchItem)

public static string GetAssetPath(in SearchItem item)

Parameters

Search item.

Returns

Type

Description

stringAsset path of the item or null if none can be found.

Remarks

The returned asset path depends on the SearchProvider of the item.