Hi, i want to make a inverted connection from volume of Explosion's group to Master's pitch (don't ask me why ) for example: vol = -6 pitch= 25 vol = -60 pitch = 100 I exposed master's pitch, everything is changing properly, but i found no way to get a volume of a group. How to do it?
Is it possible? I know the API is severely lacking (I wasn't able to tell whether a Group was muted or not for example).
You could expose the Volume of that group, the volume within the Attenuation, and then just do GetFloat(string name, out float value); to get the volume example Code (CSharp): float masterVolume=0; audioMixer.GetFloat("MasterMixerVolume", out masterVolume); I hope that helps.