Exemple #1
0
 // INTERNAL CALLED BY  STATIC
 public void SetGeneralVolumeFrk(float NewValue)
 {
     _GeneralVolume = NewValue;
     for (int i = 0; i < GetAudioCount(); i++)
     {
         AudioInstance Inst = GetAudio(i);
         Inst.CalculateVolume();
     }
 }
Exemple #2
0
 // INTERNAL CALLED BY  STATIC
 public void SetVoiceVolumeFrk(float NewValue)
 {
     _VoiceVolume = NewValue;
     for (int i = 0; i < GetAudioCount(); i++)
     {
         AudioInstance Inst = GetAudio(i);
         if (Inst._Type == AudioSourceType.Voice)
         {
             Inst.CalculateVolume();
         }
     }
 }