private void ManageContinueButton() { if (m_dialogPanelText.textInfo.pageCount < 2) { m_continueButton.Hide(); return; } if (m_dialogPanelText.pageToDisplay == m_dialogPanelText.textInfo.pageCount) { m_continueButton.Hide(); return; } m_continueButton.Show(); }