Exemple #1
0
 public static void ShowVipBoughtDialog(bool success)
 {
     if (success)
     {
         VipBoughtCongratulationsPanelActivator.Show();
     }
     else
     {
         PurchaseResultsDialog.Show(success);
     }
 }
Exemple #2
0
    public static void ShowPurchaseResultsDialog(bool success, InGameCurrency inGameCurrency)
    {
        if (Instance == null)
        {
            return;
        }

        PurchaseResultsDialog.Show(success);

        // Show VFX.
        if (!success)
        {
            return;
        }

        switch (inGameCurrency)
        {
        case InGameCurrency.GEMS:
            GemCollectionSequence.Show();
            break;
        }
    }