/** * 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(); } } }
/** * 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(); } } }