public static float GetParameterValue(FMOD.Studio.EventInstance eventInstance, string parameterName) { eventInstance.getParameterByName(parameterName, out float paramValue); return(paramValue); }