건설 모드에서 클릭이 잘 작동하지 않는 문제 수정
건설 모드 UI가 클릭되어 건설되지 않는 문제 수정 JMO Asset 위치 조정 Tower, Monster, Creep의 Hit/Destroy FX Prefab 설정 (Template Level) Tower에 체력바 추가 (최초 건설 시, 체력 변경 시 등장) Tower 관련 디버깅 로그 정리 건설 토대의 사이즈가 비정상적인 문제 수정
This commit is contained in:
@@ -351,5 +351,20 @@ namespace Northbound
|
||||
{
|
||||
return slotButtons.Count;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 마우스가 퀵슬롯 UI 위에 있는지 확인
|
||||
/// </summary>
|
||||
public bool IsMouseOverQuickslot(Vector2 mousePosition)
|
||||
{
|
||||
if (quickslotPanel == null || !quickslotPanel.activeSelf)
|
||||
return false;
|
||||
|
||||
RectTransform rectTransform = quickslotPanel.GetComponent<RectTransform>();
|
||||
if (rectTransform == null)
|
||||
return false;
|
||||
|
||||
return RectTransformUtility.RectangleContainsScreenPoint(rectTransform, mousePosition);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user