작업 조건 분석 검색 기능 개발
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user