Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

DialogEventInfo

struct in UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Information about a modal dialog's shape at the moment it displays.

Properties

Property Description
ButtonLabelsThe dialog's button labels, in display order, when DialogEventInfo.Source is DialogSource.NativeMessageBox; null when DialogEventInfo.Source is DialogSource.ManagedCustomWindow. Backed by a private copy, so it can't be mutated by a subscriber.
IdUnique identifier for this dialog occurrence, stable from when it's raised until it's dismissed.
LevelThe severity level of the dialog, such as Info, Warning, or Error when DialogEventInfo.Source is DialogSource.NativeMessageBox; null when DialogEventInfo.Source is DialogSource.ManagedCustomWindow.
MessageThe dialog's body text when DialogEventInfo.Source is DialogSource.NativeMessageBox; null when DialogEventInfo.Source is DialogSource.ManagedCustomWindow.
OpenedAtUtcUTC time at which the dialog was about to be shown.
SourceThe mechanism that produced this dialog.
TitleThe text shown in the dialog's title bar.