데이터파이프라인 타워 부분 개선
This commit is contained in:
@@ -99,6 +99,8 @@ namespace Northbound
|
||||
Debug.LogWarning($"[BuildingQuickslotUI] QuickSlot{i + 1} 액션이 null입니다. Input Actions 에셋을 확인하세요.");
|
||||
}
|
||||
}
|
||||
|
||||
Debug.Log($"[BuildingQuickslotUI] {_quickslotActions.Length}개의 퀵슬롯 액션 초기화됨 (최대 8개 키 바인딩)");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -155,6 +157,10 @@ namespace Northbound
|
||||
{
|
||||
SelectBuilding(slotIndex);
|
||||
}
|
||||
else if (slotIndex >= slotButtons.Count && quickslotPanel != null && quickslotPanel.activeSelf)
|
||||
{
|
||||
Debug.LogWarning($"[BuildingQuickslotUI] 슬롯 {slotIndex + 1}은 존재하지 않습니다. 마우스로 클릭하여 선택하세요.");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -176,11 +182,10 @@ namespace Northbound
|
||||
}
|
||||
slotButtons.Clear();
|
||||
|
||||
// 건물 목록으로 슬롯 생성 (최대 maxSlots개)
|
||||
// 모든 건물 슬롯 생성 (제한 없음)
|
||||
var buildings = BuildingManager.Instance.availableBuildings;
|
||||
int slotCount = Mathf.Min(buildings.Count, maxSlots);
|
||||
|
||||
for (int i = 0; i < slotCount; i++)
|
||||
for (int i = 0; i < buildings.Count; i++)
|
||||
{
|
||||
CreateSlot(buildings[i], i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user