public void ToggleShow() { if (!Hiding) { Hiding = true; m_hideText.text = "►"; m_mainContent.SetActive(false); m_pageHandler.Hide(); } else { Hiding = false; m_hideText.text = "◄"; m_mainContent.SetActive(true); m_pageHandler.Show(); Update(); } InvokeOnToggleShow(); }