Example #1
0
        /**
         * Provided to make scroll view compatible with SWLayer's resume method
         */

        public void Resume(object sender)
        {
            RawList <CCNode> pChildren = m_pContainer.Children;

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

            m_pContainer.ResumeSchedulerAndActions();
        }
Example #2
0
        /**
         * Provided to make scroll view compatible with SWLayer's resume method
         */

        public void Resume(object sender)
        {
            var pChildren = _container.Children;

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

            _container.ResumeSchedulerAndActions();
        }