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

@@ -0,0 +1,24 @@
using TMPro;
using UnityEngine;
using VRShopping.Shopping;
namespace VRShopping.UI
{
public class ShoppingOrderRow : MonoBehaviour
{
[SerializeField] private TMP_Text _nameText;
[SerializeField] private TMP_Text _quantityText;
public void Bind(ShoppingOrderEntry entry)
{
if (entry == null)
{
gameObject.SetActive(false);
return;
}
if (_nameText != null) _nameText.text = entry.ProductGroup.ToString();
if (_quantityText != null) _quantityText.text = $"x{entry.RequiredQuantity}";
}
}
}