Add purchasing icons

This commit is contained in:
2025-07-16 21:59:41 -07:00
parent 90d5c2d8c2
commit b997eb553e
5 changed files with 101 additions and 21 deletions

View File

@@ -48,11 +48,17 @@ public class IconMarketplaceManager : MonoBehaviour
uploadPanel.SetActive(false);
break;
case 1:
downloadPanelScript.Load();
downloadPanelScript.balanceText.text = "You have " + Tools.FormatWithCommas(BazookaManager.Instance.GetCustomBirdIconData().Balance) + " coins to spend";
foreach (Transform item in downloadPanelScript.content.transform)
{
if (item.gameObject.activeSelf)
{
Destroy(item.gameObject);
}
}
normalPanel.SetActive(false);
downloadPanel.SetActive(true);
uploadPanel.SetActive(false);
downloadPanelScript.Load();
break;
case 2:
uploadPanelScript.Reset();