Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. 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:
    133
    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:
    92
    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:
    106
    BinaryCats likes this.
  6. StylishCoding

    StylishCoding

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

    BinaryCats

    Joined:
    Feb 8, 2016
    Posts:
    133