Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to generate thumbnail for prefab in editor?

Discussion in 'Editor & General Support' started by Laumania, Sep 20, 2020.

  1. Laumania

    Laumania

    Joined:
    Jun 27, 2012
    Posts:
    221
    Hi!

    In my game, Fireworks Mania, I have an inventory system like many other games:
    upload_2020-9-20_12-31-38.png

    I have these small previews of all the items and right now I create them by opening the .fbx file, manually position in Windows 3D viewer thingy and generate an png that I then use in the game.

    This works fine, but as I'm creating a lot of different things, I thought it would be easier if I could somehow just create these in the editor.

    Not at runtime, basically I just need to get what I see in the "preview" area in the Unity Editor to a PNG file.

    I have search but can't really find anything, as I don't need this runtime, I only need it in the editor.

    Thanks in advance,
    Laumania