Пример #1
0
        public float GetVolFactor()
        {
            if (VM != null)
            {
                return(VM.GetMasterVolume(VolGroup));
            }

            return(1f);
        }
Пример #2
0
 public float GetVolFactor()
 {
     return(VM?.GetMasterVolume(VolGroup) ?? 1f);
 }