public void SetActivePage(int index, bool value) { if (m_PageActive == null) { return; } if (index >= m_PageActive.Count) { return; } m_PageActive[index] = new PageActiveInfo() { Active = value, StepScroll = index * m_fStep }; }
public void SetActivePage(int index, bool value) { if (m_PageActive == null) return; if (index >= m_PageActive.Count) return; m_PageActive[index] = new PageActiveInfo () { Active = value, StepScroll = index * m_fStep }; }