Esempio n. 1
0
 static public void PauseCategory(string categoryName, string pauseSource = "")
 {
     SoundObject[] objs = GetPlayingAudioObjects(string.Empty, false);
     for (int i = 0; i < objs.Length; i++)
     {
         SoundObject so = objs[i];
         if (so.DoesBelongToCategory(categoryName))
         {
             so.Pause(true, pauseSource);
         }
     }
 }