Version: 2023.2
言語: 日本語
public static Texture2D GetSceneObjectPreview (GameObject obj, Vector2 size, Search.FetchPreviewOptions options, Texture2D thumbnail);

パラメーター

obj Scene object instance.
size Preview size.
options Preview options.
thumbnail Any existing thumbnail in case we cannot obtain a scene object preview.

戻り値

Texture2D Object preview or thumbnail fallback.

説明

Returns a scene object preview to be used in the search view.