public float GetVolFactor() { if (VM != null) { return(VM.GetMasterVolume(VolGroup)); } return(1f); }
public float GetVolFactor() { return(VM?.GetMasterVolume(VolGroup) ?? 1f); }