Example #1
0
 internal void HighlightNPCDialogueCurrency(InGameCurrency highlightCurrency)
 {
     if (NPCDialogueDialog.Instance != null)
     {
         NPCDialogueDialog.Instance.HighlightCurrency(highlightCurrency);
     }
 }
Example #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;
        }
    }
Example #3
0
 private static void ClearCoinCount()
 {
     InGameCurrency.SaveCurrency(0);
 }
Example #4
0
 private static void AddCoinCount()
 {
     InGameCurrency.SaveCurrency(10 + InGameCurrency.LoadCurrency());
 }