Пример #1
0
        private IEnumerator PreviousButtonCoroutine()
        {
            m_scrolling = true;
            yield return(m_list.ScrollToPage(m_list.currentPageIndex - 1, instant: false));

            OnContentUpdate();
            m_scrolling = false;
        }
        private unsafe IEnumerator ScrollToCoroutine(int i)
        {
            m_scrolling = true;
            yield return(m_list.ScrollToPage(i, instant: false, new TweenCallback((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)));

            OnContentUpdate();
            m_scrolling = false;
        }