// INTERNAL CALLED BY STATIC public void SetGeneralVolumeFrk(float NewValue) { _GeneralVolume = NewValue; for (int i = 0; i < GetAudioCount(); i++) { AudioInstance Inst = GetAudio(i); Inst.CalculateVolume(); } }
// 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(); } } }