Version: 2023.2
言語: 日本語
public Texture2D RenderStaticPreview (string assetPath, Object[] subAssets, int width, int height);

パラメーター

assetPath The asset to operate on.
subAssets An array of all Assets at assetPath.
width Width of the created texture.
height Height of the created texture.

戻り値

Texture2D Generated texture or null.

説明

Creates a texture preview for rendering the TileBase asset preview.