static Action GetEnterKeyAction( bool isFirstButtonEnabled, PlasticQuestionAlert instance) { if (isFirstButtonEnabled) { return(instance.OkButtonAction); } return(instance.ApplyButtonAction); }
internal static ResponseType Show( string title, string message, string first, string second, string third, bool isFirstButtonEnabled, GuiMessage.GuiMessageType alertType, EditorWindow parentWindow) { PlasticQuestionAlert alert = Create( title, message, first, second, third, isFirstButtonEnabled, alertType); return(alert.RunModal(parentWindow)); }