Beispiel #1
0
 public void StopAllInstances()
 {
     lock (instanceMutationLock)
     {
         foreach (int id in SoundInstanceIds)
         {
             AudioModule.StopSoundInstance(id);
         }
         SoundInstanceIds.Clear();
     }
 }