Beispiel #1
0
 private void ToggleSound()
 {
     if (m_accelerate)
     {
         if (!m_soundSystem.IsPlaying())
         {
             m_soundSystem.PlayLooping("Ship_Engine");
         }
     }
     else
     {
         m_soundSystem.StopPlaying();
     }
 }