버그 수정

This commit is contained in:
2026-05-11 17:27:04 +09:00
parent 73aebe2d8c
commit fcdae4947e
99 changed files with 5478 additions and 15 deletions

View File

@@ -8,9 +8,16 @@ public class BGMHud : MonoBehaviour
private BGMBox currentBgm;
[SerializeField] private BGMClip DefaultBgm;
[SerializeField, Min(0f)] private float _defaultBgmStartDelay = 5f;
public void Start()
public async void Start()
{
if (_defaultBgmStartDelay > 0f)
await Awaitable.WaitForSecondsAsync(_defaultBgmStartDelay);
// 지연 도중에 이미 다른 곡이 재생되었으면 디폴트는 건너뜀
if (currentBgm != null) return;
BGMBox[] BGMBoxs = GetComponentsInChildren<BGMBox>(true);
foreach (BGMBox bgm in BGMBoxs)

View File

@@ -1,5 +1,6 @@
using TMPro;
using UnityEngine;
using VRShopping.Items;
using VRShopping.Shopping;
namespace VRShopping.UI
@@ -17,7 +18,7 @@ public void Bind(ShoppingOrderEntry entry)
return;
}
if (_nameText != null) _nameText.text = entry.ProductGroup.ToString();
if (_nameText != null) _nameText.text = entry.ProductGroup.ToKorean();
if (_quantityText != null) _quantityText.text = $"x{entry.RequiredQuantity}";
}
}