Version: 2017.2

Editor.RenderStaticPreview

切换到手册
public Texture2D RenderStaticPreview (string assetPath, Object[] subAssets, int width, int height);

描述

Override this method if you want to render a static preview that shows.

If null is returned the builtin icon for the class type is used.