- Home /
How to avoid one button to be clicked when another button in footer overlaps it.
I am working on an editor window which has a set of buttons in its footer. When it overlaps with other properties or buttons., they start messing. How do I avoid it?
Answer by TheSOULDev · Sep 23, 2017 at 11:56 PM
Turn off the other buttons' raycast target property, or use a invisible panel over the buttons (also make it raycastable) and put the footer buttons on it. They will block presses as long as the cover the buttons.
Thanks. What is a panel in editor script? I have tried using box. It doesn't work. How do I make the panel raycastable?
Your answer
Follow this Question
Related Questions
How To Programatically Uncheck the Auto-Save Check Box in Prefab Edit Mode? 0 Answers
Adjust the width/height of List property elements in the Inspector 1 Answer
Text in custom editor is displayed/rendered with boxes around characters... 2 Answers
Multiple editor windows combined 0 Answers
Is there a way to get all editable fields of a component in a script? 2 Answers