Beispiel #1
0
 private void PlayPause()
 {
     if (m_Soundboard.IsPlaying())
     {
         m_Soundboard.PauseSong();
         m_Piano.UnPause();
     }
     else
     {
         m_Piano.Pause();
         m_Soundboard.PlaySong();
     }
     m_buttonClickSounder.PlayOneShot(m_buttonClickSounder.clip);
     m_cueMaster.PlayButtonPress();
 }