예제 #1
0
        /**
         * Provided to make scroll view compatible with SWLayer's pause method
         */

        public void Pause(object sender)
        {
            m_pContainer.PauseSchedulerAndActions();

            RawList <CCNode> pChildren = m_pContainer.Children;

            if (pChildren != null && pChildren.count > 0)
            {
                for (int i = 0; i < pChildren.count; i++)
                {
                    pChildren.Elements[i].PauseSchedulerAndActions();
                }
            }
        }
예제 #2
0
        /**
         * Provided to make scroll view compatible with SWLayer's pause method
         */

        public void Pause(object sender)
        {
            _container.PauseSchedulerAndActions();

            var pChildren = _container.Children;

            if (pChildren != null && pChildren.count > 0)
            {
                for (int i = 0; i < pChildren.count; i++)
                {
                    pChildren.Elements[i].PauseSchedulerAndActions();
                }
            }
        }