コード例 #1
0
    public void Close(PopupBase popup)
    {
        popup.Close();
        Destroy(popup.gameObject);

        // barrier
        barrier.raycastTarget = false;
    }
コード例 #2
0
 /// <summary>
 /// Sets the DialogResult property of the popup.</summary>
 private void SetPopupResult(DialogResult dialogResult)
 {
     Result = dialogResult;
     window.Close();
 }