Access to prefab thumbnails

Hi all! Quick question…

I’m working on prototyping a level editor at the moment and I was curious as to whether it was possible to gain access to the thumbnails that Unity generates for prefabs. I have a list of 100+ prefabs I would like to make available to the user for use in the program but I’d like to avoid having to take 100+ screenshots and importing them as textures for use in the GUI.

Any thoughts?

Thanks a bunch in advance

I think the AssetPreview class can help you in this case. Specifically, check out this method: Unity - Scripting API: AssetPreview.GetMiniThumbnail

6 Likes

Fantastic~ exactly what I was looking for. Thank you very much!

2 Likes