Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Modifying asset preview in Project

Discussion in 'Extensions & OnGUI' started by TeemuMV, Jan 24, 2018.

  1. TeemuMV

    TeemuMV

    Joined:
    Nov 10, 2017
    Posts:
    19
    Hey,

    I'm building an editor and would like to leverage the Project for model management instead of having to reinvent the wheel and display them manually in the editor's Inspector.

    Is it possible to:

    1) Modify prefab/model/mesh previews' transforms (or camera) in the Project view?
    2) Use a custom image/texture as a preview?

    The default rotation is wonky at best for my use-case. I'd like to be able to see the models straight on instead.

    In the simple example below, the rotation of the preview hides information which would be visible if it were straight on.
    In more complex cases, the models are illegible due to the rotation.



    To elaborate, I'm not talking about the asset previews (right in the above pic) that appear in Inspector when you select an asset, which I know can be modified, but specifically the preview thumbnails in the Project view.
     
  2. BinaryCats

    BinaryCats

    Joined:
    Feb 8, 2016
    Posts:
    106
    I too have searched how to do this in the past, I believe it isn't possible. But I hope it is!
     
  3. PsyKaw

    PsyKaw

    Joined:
    Aug 16, 2012
    Posts:
    78
    BinaryCats likes this.
  4. TeemuMV

    TeemuMV

    Joined:
    Nov 10, 2017
    Posts:
    19
    Brilliant, that seems to do exactly what I need. Will look into it.
     
  5. StylishCoding

    StylishCoding

    Joined:
    Apr 21, 2018
    Posts:
    38
    BinaryCats likes this.
  6. StylishCoding

    StylishCoding

    Joined:
    Apr 21, 2018
    Posts:
    38
  7. BinaryCats

    BinaryCats

    Joined:
    Feb 8, 2016
    Posts:
    106