건축 및 고용에 비용 소모 기능 추가
This commit is contained in:
@@ -68,6 +68,28 @@ namespace Northbound
|
||||
InitializeSlots();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (quickslotPanel != null && quickslotPanel.activeSelf)
|
||||
{
|
||||
UpdateCostDisplays();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 모든 슬롯의 비용 표시 업데이트
|
||||
/// </summary>
|
||||
public void UpdateCostDisplays()
|
||||
{
|
||||
foreach (var slot in slotButtons)
|
||||
{
|
||||
if (slot != null)
|
||||
{
|
||||
slot.UpdateCostDisplay();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 퀵슬롯 Input Actions 초기화 및 구독 (직접 참조)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user