Example #1
0
        public void VolumeChanged(VolumeTarget target, int newValue)
        {
            List <IProjectPlayingCallbacks> copy = null;

            lock (syncObject)
            {
                copy = new List <IProjectPlayingCallbacks>(m_Clients);
            }
            foreach (IProjectPlayingCallbacks callback in copy)
            {
                callback.VolumeChanged(target, newValue);
            }
        }
Example #2
0
 public void VolumeChanged(VolumeTarget target, int newValue)
 {
     lock (syncObject)
     {
         if (target == VolumeTarget.Music)
         {
             m_MusicVolume = newValue;
         }
         else
         {
             m_SoundVolume = newValue;
         }
     }
 }
Example #3
0
 public void VolumeChanged(VolumeTarget target, int newValue)
 {
 }