Exemplo n.º 1
0
 public void BackButtonClicked()
 {
     SoundManager.instance.PlaySingle(clickSound);
     if (inMainMenu == true)
     {
         showPanels.HideControlsPanel();
         showPanels.ShowMenuPanel();
     }
     else         //if in game, so show pause menu
     {
         showPanels.HideControlsPanel();
         showPanels.ShowPausePanel();
     }
 }