Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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:
DisplayAlertDialogExample (EditorDialog)
DisplayDecisionDialogSimpleExample (EditorDialog)
DisplayDecisionDialogWithOptOutExample (EditorDialog)
DisplayComplexDecisionDialogWithOptOutExample (EditorDialog)
.

Static Methods

Method

Description

DisplayAlertDialogDisplays a simple alert dialog box with a title, an icon, a message, and a single button.
DisplayAlertDialogWithOptOutDisplays a simple alert dialog box with a title, icon, message, a button, and an opt-out checkbox.
DisplayComplexDecisionDialogDisplays a complex decision dialog box with a title, icon, message, and three buttons.
DisplayComplexDecisionDialogWithOptOutDisplays a complex decision dialog box with a title, icon, message, three buttons, and an opt-out checkbox.
DisplayDecisionDialogDisplays a decision dialog box with a title, icon, message, and two buttons.
DisplayDecisionDialogWithOptOutDisplays a decision dialog box with a title, icon, message, two buttons, and an opt-out checkbox.