Autogenerated Thumbnails of GameObjects

Hey there, is there a way to access the thumbnails?

EDIT: Maybe I have to be more specific: The Thumbs should be displayed in this Selectiongrid.

1 Answer

1

This works:

using UnityEditor;

public GameObject tower;
Texture2D icon1 = AssetPreview.GetAssetPreview(tower);

That works perfectly!

But you can not use that when you want to build your game. I know it. It is sad, and it could have been incredible useful. But somehow, Unity wont let you do so.