GetAssetPath(in SearchItem)
Returns the asset path of a search item if any.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
GetAssetPath(SearchItem)
public static string GetAssetPath(in SearchItem item)
Parameters
Search item.
Returns
Type | Description |
|---|---|
| string | Asset path of the item or null if none can be found. |
Remarks
The returned asset path depends on the SearchProvider of the item.