작업 조건 분석 검색 기능 개발

This commit is contained in:
geondo55
2025-03-05 18:49:48 +09:00
parent ef58961c01
commit ea4730f7f5
6 changed files with 5626 additions and 8 deletions

View File

@@ -106,10 +106,10 @@ public class UI_Calendar : UIBase
}
else // ÀÌÀü ´Þ
{
DateTime dayInLastMonth = new DateTime(lastMonth.Year, lastMonth.Month, lastMonthDaysCount - (weekIndex - i - 1));
calendarItemList[i].SetDate(dayInLastMonth, Color.gray);
DateTime LastMonthDate = new DateTime(lastMonth.Year, lastMonth.Month, lastMonthDaysCount - (weekIndex - i - 1));
calendarItemList[i].SetDate(LastMonthDate, Color.gray);
if (today == dayInLastMonth)
if (today == LastMonthDate)
{
calendarItemList[i].ShowTodayUI();
}

View File

@@ -17,11 +17,6 @@ public class UI_CalendarItem : UIBase, IPointerEnterHandler, IPointerExitHandler
public Image TodayUI;
public TextMeshProUGUI Text_Day;
public void OnDisable()
{
Init();
}
private void Init()
{
HoverUI.gameObject.SetActive(false);
@@ -41,6 +36,7 @@ public class UI_CalendarItem : UIBase, IPointerEnterHandler, IPointerExitHandler
public void Close()
{
SetActive(false);
Init();
}
public void ShowSelectUI()