Showing dialog pop-up

Note: The plugin doesn't support Windows 8 platform anymore

Editor testing provides an opportunity to see how this functionality will work in the Unity Editor:

MNPopup popup = new MNPopup ("title", "dialog message");
popup.AddAction ("action1", () => {Debug.Log("action 1 action callback");});
popup.AddAction ("action2", () => {Debug.Log("action 2 action callback");});
popup.AddDismissListener (() => {Debug.Log("dismiss listener");});
popup.Show ();

On real device result for this API call is showed below:

If you need to find out when the button1 pressed you should add a listener:

popup.AddAction ("action1", () => {
    Debug.Log("action 1 action callback");
});

If you need to find out when the button2 pressed you should add a listener:

popup.AddAction ("action2", () => {
    Debug.Log("action 2 action callback");
});

If you need to find out when the message dissmissed you should add a listener:

popup.AddDismissListener (() => {
    Debug.Log("dismiss listener");
});

MNPopup contains 1 constructor for dialog PopUp.

public MNPopup (string title, string message)