Search Unity

Draw border around built-in editor window?

Discussion in 'Editor & General Support' started by teknic, Jun 15, 2016.

  1. teknic

    teknic

    Joined:
    Oct 18, 2012
    Posts:
    32
    I wish to "hilight" the editor windows my mouse is over. I teach Unity and students sometimes cannot see the mouse cursor. A colored window border would solve this, but I cannot find a way to achieve this.

    The example code for EditorWindow.mouseOverWindow is useful for accessing the window beneath the mouse cursor, but I'm coming up short on drawing a border or highlighting the window in some other way.

    Thoughts? Is it possible to perhaps change the color of the window? Or maybe draw a transparent window on top?

    Thanks in advance.
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
  3. teknic

    teknic

    Joined:
    Oct 18, 2012
    Posts:
    32
    @fffMalzbier I did a few tests with Highlighter, and as you speculate, it does not appear to work for windows. Instead, it momentarily highlights elements within windows...

    the search continues...