Блог программиста
MsgBox.Close

public static void Close()

Description

Close the last message box.

Example

using UnityEngine;
using PoqXert.MessageBox;

public class Example : MonoBehaviour {

    void Start()
    {
        MsgBox.Show(0, "Your platform: " + Application.platform.ToString(), "Platform", Method);
    }

    public void Method(int id, DialogResult btn)
    {
	if (btn == DialogResult.YES_OK)
	    MsgBox.Close ();
    }
}