文档

Unity Engine

Unity Engine

GetAssetThumbnailFromPath

Returns a thumbnail texture to be used in the search view.
阅读时间1 分钟最后更新于 1 个月前

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