DialogSource
Options for identifying which mechanism produced a DialogEventInfo.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public enum DialogSource
Fields
Value | Description |
|---|---|
| ManagedCustomWindow | A custom EditorWindow shown using EditorWindow.ShowModal() or EditorWindow.ShowModalUtility(). Opaque; the content is unknown. |
| NativeMessageBox | A native dialog, such as the EditorUtility.DisplayDialog family or a native-originated alert. Carries full structured content. |