- Home /
Editor: Drawing outside the own window
Is there a way to draw outside an own EditorWindow's position rectangle?
I looked into the internal class "GUIClip", and it seems it handles the clipping of rectangle areas, but beside calling GUIClip.Pop() repeadately (which leaves the GUI stack corrupt) I can't figure out how I could, e.g. temporarely disable the clipping.
Or does anyone know of a callback where I can draw using GUI functions that is "after" all repainting?
To provide a bit of context: I am trying to inject another drop-down control next to the "Layers" drop down in the Toolbar view on top of the editor. There is so much unused space and there would be a very nice place.... ;).
Your answer
Follow this Question
Related Questions
How to combine two buttons in one. Editor window 2 Answers
EditorGUILayout.TextArea text goes out of bounds 0 Answers
Custom Editor - Is there any way to detect whether the user is in Prefab editing mode? 1 Answer
How to draw button in editor window rotated by 90 degrees? 0 Answers
Set MinWidth for EditorWindow 1 Answer