2026-04-17 장보기 목록 버튼 할당 진행중

This commit is contained in:
2026-04-17 18:02:36 +09:00
parent 25e7b5bf4d
commit 43899e355f
38 changed files with 422 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ public class ItemInfoPanel : MonoBehaviour
{
[Header("Refs")]
[SerializeField] private GameObject _root;
[SerializeField] private Image _iconImage;
//[SerializeField] private Image _iconImage;
[SerializeField] private TMP_Text _nameText;
[SerializeField] private TMP_Text _brandText;
[SerializeField] private TMP_Text _priceText;
@@ -31,11 +31,13 @@ public void Show(ItemData data)
return;
}
/*
if (_iconImage != null)
{
_iconImage.sprite = data.Icon;
_iconImage.enabled = data.Icon != null;
}
*/
if (_nameText != null) _nameText.text = data.DisplayName;
if (_brandText != null) _brandText.text = data.Brand;