Esempio n. 1
0
        public void OnYearSelected()
        {
            GoDown();

            SelectionState = SelectionStateType.Year;

            m_YearsRangeOffset = 0;
        }
Esempio n. 2
0
        public void OnDaySelected()
        {
            if (SelectionMode != SelectionModeType.DateOnly)
            {
                GoDown();
            }

            SelectionState = SelectionStateType.Day;
        }
Esempio n. 3
0
        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();
            }
        }
Esempio n. 4
0
        public void OnMonthSelected()
        {
            GoDown();

            SelectionState = SelectionStateType.Month;
        }