Example #1
0
    public static IEnumerator WaitForDialog(this IGDPRDialog dialog)
    {
        dialog.ShowDialog(null);

        while (IsDialogVisible)
        {
            yield return(null);
        }
    }
Example #2
0
 public static void ShowDialog(this IGDPRDialog dialog, DialogClosedDelegate onDialogClosed = null)
 {
     dialog.ShowDialog(onDialogClosed);
 }