- Home /
Easy way to make buttons in-accessible when under a pop-up window?
I have a number of buttons in a grid across the screen. Clicking on any of these buttons creates a pop-up window over the top of them with it's own set of buttons/options.
My problem is that as I mouse around this pop-up window I can see the buttons behind the window are being highlighted as well. Is there any automatic system to force focus on the top window only, or do I need to manually disable all the buttons underneath when I detect that I've opened a pop-up window?
Answer by Meatgortex · Oct 01, 2010 at 02:34 AM
Ok simple enough to just use GUI.enabled with a test if I have the window open to disable the stuff below.
Your answer
Follow this Question
Related Questions
Dragging and Locking Buttons. 1 Answer
How do I draw controls in a GUI Window - based on screen dimensions? 2 Answers
Add EditorUI elements when a button is pressed 0 Answers
A few GUI related questions. 1 Answer
GUI Button and Window 1 Answer