GetAssetThumbnailFromPath
Returns a thumbnail texture to be used in the search view.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
GetAssetThumbnailFromPath(SearchContext, string)
Returns a thumbnail texture to be used in the search view.
public static Texture2D GetAssetThumbnailFromPath(SearchContext context, string path)
Parameters
Returns
Type | Description |
|---|---|
| Texture2D | Thumbnail texture. |
Remarks
GetAssetThumbnailFromPath(string)
Returns a thumbnail texture to be used in the search view.
public static Texture2D GetAssetThumbnailFromPath(string path)
Parameters
Asset path.
Returns
Type | Description |
|---|---|
| Texture2D | Thumbnail texture. |