Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAssetThumbnailFromPath

Returns a thumbnail texture to be used in the search view.
Read time 1 minuteLast updated 13 days ago

Definition

GetAssetThumbnailFromPath(SearchContext, string)

Returns a thumbnail texture to be used in the search view.
public static Texture2D GetAssetThumbnailFromPath(SearchContext context, string path)

Parameters


path

Asset path.

Returns

Type

Description

Texture2DThumbnail texture.

Remarks

GetAssetThumbnailFromPath(string)

Returns a thumbnail texture to be used in the search view.
public static Texture2D GetAssetThumbnailFromPath(string path)

Parameters

path

Asset path.

Returns

Type

Description

Texture2DThumbnail texture.

Remarks