Add prefabs for main menu and album page
This commit is contained in:
committed by
Michal Adam Pikulski
parent
6c23d1bcfa
commit
b1df36d48c
@@ -3,6 +3,7 @@ using AppleHills.Data.CardSystem;
|
||||
using Core;
|
||||
using Data.CardSystem;
|
||||
using Pixelplacement;
|
||||
using TMPro; // Added TMP namespace
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
@@ -20,8 +21,7 @@ namespace AppleHills.UI.CardSystem
|
||||
[SerializeField] private Button changeClothesButton;
|
||||
|
||||
[Header("UI Elements")]
|
||||
[SerializeField] private Text boosterCountText;
|
||||
[SerializeField] private GameObject noBoostersMessage;
|
||||
[SerializeField] private TextMeshProUGUI boosterCountText; // Changed to TextMeshProUGUI
|
||||
[SerializeField] private CanvasGroup canvasGroup;
|
||||
|
||||
private CardAlbumUI _cardAlbumUI;
|
||||
@@ -102,12 +102,6 @@ namespace AppleHills.UI.CardSystem
|
||||
{
|
||||
openBoosterButton.interactable = boosterCount > 0;
|
||||
}
|
||||
|
||||
// Show/hide no boosters message
|
||||
if (noBoostersMessage != null)
|
||||
{
|
||||
noBoostersMessage.SetActive(boosterCount <= 0);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user