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

Unity Editor GUI Styling Convention?

Discussion in 'Extensions & OnGUI' started by Uebertreiberman, May 9, 2018.

  1. Uebertreiberman


    Sep 24, 2016
    Hi everyone.
    I've very recently started working with custom editor windows and editor extensions in general.
    I want to make my editor extension's GUI resemble Unitys as closely as possible to make it fit in seamlessly and provide a (mostly) streamlined workflow when using it.
    That said, I am trying to style the UI the same way the editor is styled.
    For the most parts I've been googling a lot, reading forums about what classes and styles to use where, but I often result in having to experiment around with it myself.
    I am still searching for a few elements (like the lighter background on the first item in the hierachy) and am having trouble finding them, mainly because I do not now how these things are named and therefore can't find the corresponding documentations or forum questions. These are all small examples but it made me wonder, is there no place where all editor-GUI elements are listed with screenshots and links to the corresponding documentation? In the end, re-creating these small things wouldn't be a problem, but I would rather like to use the proper classes and styles, simply because of the fact that they are already there somewhere.
    Is there something you can suggest?
    Thanks in Advance.
  2. Johannski


    Jan 25, 2014
  3. BinaryCats


    Feb 8, 2016
    The above thing is useful, however, when I want to mimic how unity looks I usually have more success looking through , there is quite a bit off guess work involved, but usually doesn't take more than 5 mins down to find the style I want