Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Make tiny previews of pixel art in Project tab larger?

Discussion in 'Editor & General Support' started by GotCake, Mar 22, 2023.

  1. GotCake


    Nov 16, 2022
    I work with a lot of smaller pixel art (8x8, 16x16, etc.). The preview images in the Project folder for images like these are very small, even with the scaling slider all the way up. Some examples:

    I like to drag images from the Project folder into the Inspector, so being able to tell the images apart is important.

    I wrote a C# Editor script that defines static void IconGUI(string guid, Rect r), and makes larger versions of the source images to use with GUI.DrawTexture. This mostly works:

    Except, the images I draw are actually over top of the original, smaller, ones:

    Is there a way to override whatever creates the original icons so I can make them larger, or have them not draw when I use GUI.DrawTexture to draw overtop? In other words: any better way to do this overall?

    mgear likes this.