버그 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user