public void OnOptionsButton() { AudioManager.Instance.PlayAudio(SoundID.ClickUI); helpPanel.PopOut(); backToMainMenuPanel.PopOut(); if (optionsPanel.IsShown) { optionsPanel.PopOut(); } else { optionsPanel.PopIn(); } }