文档

Unity Engine

Unity Engine

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

ManagedCustomWindowA custom EditorWindow shown using EditorWindow.ShowModal() or EditorWindow.ShowModalUtility(). Opaque; the content is unknown.
NativeMessageBoxA native dialog, such as the EditorUtility.DisplayDialog family or a native-originated alert. Carries full structured content.