ドキュメント

Unity Engine

Unity Engine

GetThumbnail(SearchContext, bool)

Gets the search item thumbnail if available, otherwise the thumbnail is fetched at this time. The thumbnail is usually used in list view compared to the grid view.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public Texture2D GetThumbnail(SearchContext context, bool cacheThumbnail = false)

Parameters

Search context used to fetch the search item thumbnail.

cacheThumbnail

Indicates if the search item thumbnail should be cached for next time.

Returns

Type

Description

Texture2DReturns the search item 2D texture.