public void OnYearSelected() { GoDown(); SelectionState = SelectionStateType.Year; m_YearsRangeOffset = 0; }
public void OnDaySelected() { if (SelectionMode != SelectionModeType.DateOnly) { GoDown(); } SelectionState = SelectionStateType.Day; }
public void OnDateTitleButtonClicked() { if (SelectionMode == SelectionModeType.TimeOnly) { return; } if (m_CurrentCalendarBottomContent == m_ClanedarTimePicker) { SelectionState = SelectionStateType.DaySelected; GoUp(); } else if (m_CurrentCalendarBottomContent == m_CalendarDayPicker.GetComponent <CalendarBottomContent>()) { SelectionState = SelectionStateType.MonthSelected; GoUp(); } else if (m_CurrentCalendarBottomContent == m_CalendarMonthPicker.GetComponent <CalendarBottomContent>()) { SelectionState = SelectionStateType.YearSelected; GoUp(); } }
public void OnMonthSelected() { GoDown(); SelectionState = SelectionStateType.Month; }