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.