I need a solution or work around to this problem: I need to have a window element that can be used as a GUILayout BUT does not take priority over other GUI elements. I need the window to be drawn underneath certain other GUI elements. As I understand it Window elements by default are drawn over other GUI elements. Is there a way around this or a way to disable it for certain windows?
Could you explain why you want to do this? There is almost certainly a way, but you need to explain more clearly what it is that you are trying to achieve. Have a look at the GUILayoutUtility and GUI.depth- do either of these help you at all?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
3 People are following this question.
GUI Window Render Priority
GUI draws only one window at a time
GUI.Window error. InvalidOperationException: Hashtable.Enumerator: snapshot out of sync.
Having a GUILayout Window position immediately at screen center
How do i bring one GUI window in front of another?