How can I show a custom dialog in the editor?
I have a dialog I want to make, that contains some checkboxes and some other random controls. I want to show it to the user when they click on a button (in a custom inspector I have already made) in order to choose what to do.
How would I go about doing this in Unity? I can only find dialog calls that are simple message boxes...
asked Oct 18 '11 at 08:08 PM
Unfortunately (AFAIK) there's no way to display an editor window as a modal window. The only thing that comes with Unity are the simple dialg boxes you've already found (EditorUtility.DisplayDialogComplex).
Well, in a multitasking environment modal windows are evil, Just in some rare cases they would be helpful. Just check if you really need it modal. The user would be pleased when he still can select other things to look up some settings or whatever...
A more or less related question:
answered Oct 18 '11 at 11:50 PM