EditorDialog
A collection of static methods to show modal dialog boxes.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public sealed class EditorDialog
Remarks
Examples of dialogs that can be created:




Static Methods
Method | Description |
|---|---|
| DisplayAlertDialog | Displays a simple alert dialog box with a title, an icon, a message, and a single button. |
| DisplayAlertDialogWithOptOut | Displays a simple alert dialog box with a title, icon, message, a button, and an opt-out checkbox. |
| DisplayComplexDecisionDialog | Displays a complex decision dialog box with a title, icon, message, and three buttons. |
| DisplayComplexDecisionDialogWithOptOut | Displays a complex decision dialog box with a title, icon, message, three buttons, and an opt-out checkbox. |
| DisplayDecisionDialog | Displays a decision dialog box with a title, icon, message, and two buttons. |
| DisplayDecisionDialogWithOptOut | Displays a decision dialog box with a title, icon, message, two buttons, and an opt-out checkbox. |