EditorUtility.DisplayDialogComplex Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility

static function DisplayDialogComplex (title : string, message : string, ok : string, cancel : string, alt : string) : int


Displays a modal dialog with three buttons.

Use it for displaying message boxes in the editor.

Similar to DisplayDialog, only this version shows a dialog with three buttons. ok, cancel and alt are labels to be displayed on the buttons. DisplayDialogComplex returns an integer 0, 1 or 2 corresponding to ok, cancel and alt buttons.

See Also: DisplayDialog function.