Пример #1
0
 public void Stop()
 {
     isPaused = !isPaused;
     if (isPaused)
     {
         TT[0].Paused();
         TT[1].Paused();
         _th.MusicPaused();
         _btnAll.buttonAnimationSpeed(0);
         OnPausedScreen();
         _touchH.ignore = true;
     }
     else
     {
         TT[0].Resume();
         TT[1].Resume();
         _th.MusicResume();
         _btnAll.buttonAnimationSpeed(1);
         OffPausedScreen();
         _touchH.ignore = false;
     }
 }