Add balance text to download menu
This commit is contained in:
@@ -8,6 +8,7 @@ public class IconMarketplaceDownloadIcon : MonoBehaviour
|
||||
{
|
||||
public IconMarketplaceManager marketplaceManager;
|
||||
public TMP_Text statusText;
|
||||
public TMP_Text balanceText;
|
||||
public Button backButton;
|
||||
public GameObject content;
|
||||
public GameObject sample;
|
||||
|
||||
@@ -48,6 +48,7 @@ public class IconMarketplaceManager : MonoBehaviour
|
||||
uploadPanel.SetActive(false);
|
||||
break;
|
||||
case 1:
|
||||
downloadPanelScript.balanceText.text = "You have " + Tools.FormatWithCommas((BazookaManager.Instance.GetCustomBirdIconData()["totalCoins"] ?? "0").ToString()) + " coins to spend";
|
||||
normalPanel.SetActive(false);
|
||||
downloadPanel.SetActive(true);
|
||||
uploadPanel.SetActive(false);
|
||||
|
||||
Reference in New Issue
Block a user