I encountered another bug in the Linux Editor.
Normally, if you want to change the Volume of a Mixer Group in a Script, you’re exposing a parameter from the Group (e.g. Volume) to use it in your Script, something like this:
ManagesSound.getInstance().mainMix.GetFloat("musicVolume", out originalMusicVolume);
ManagesSound.getInstance().mainMix.SetFloat("musicVolume", newMusicVolume);
However, you can add new Parameters in Unity3D on Linux, but you cannot change their names.
This leads to my code having pretty ugly Float names:
ManagesSound.getInstance().mainMix.GetFloat("MyExposedParam", out originalMusicVolume);
ManagesSound.getInstance().mainMix.SetFloat("MyExposedParam", newMusicVolume);
ManagesSound.getInstance().mainMix.GetFloat("MyExposedParam 1", out originalAmbientVolume);
ManagesSound.getInstance().mainMix.SetFloat("MyExposedParam 1", newAmbientVolume);
The issue is that the small popup menu that opens when hitting “Exposed Parameters” in the editor will let you click on a parameter and enters the text edit mode, but it doesn’t let you type.
I cannot find another way to change the names of these parameters, so while this bug exists I will have to rely on MyExposedParam 1, 2, 3 etc; which is kinda messy.
Any Workarounds? Suggestions? Someone not encountering the bug?
