Version: 2022.2
언어: 한국어

SearchUtils.GetAssetPreviewFromPath

매뉴얼로 전환
public static Texture2D GetAssetPreviewFromPath (string path, Search.FetchPreviewOptions previewOptions);
public static Texture2D GetAssetPreviewFromPath (string path, Vector2 previewSize, Search.FetchPreviewOptions previewOptions);

파라미터

path Asset path.
previewOptions Additional preview options.
previewSize Request size of the preview. This is useful for the DisplayMode.Grid view.

반환

Texture2D Preview texture.

설명

Returns a preview texture to be used in the search view.