작업 조건, 시간 분석 검색 기능 수정
This commit is contained in:
@@ -28,6 +28,8 @@ public class UI_Calendar : UIBase
|
||||
public float startSpace;
|
||||
public float endSpace;
|
||||
|
||||
public Action<TextMeshProUGUI> onSelectDate;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
Button_PrevMonth.onClick.AddListener(OnClickPrevMonth);
|
||||
@@ -124,6 +126,7 @@ public class UI_Calendar : UIBase
|
||||
private void OnClickItem(DateTime date)
|
||||
{
|
||||
targetText.text = date.ToString("yyyy-MM-dd");
|
||||
onSelectDate?.Invoke(targetText);
|
||||
Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user