SerializedProperty GetValueProperty(AudioOption.Types type, bool hasCurve, SerializedObject dummy)
        {
            string propertyName = type.ToString() + (hasCurve ? "Curve" : "");

            SerializedProperty valueProperty = dummy.FindProperty(propertyName);

            return valueProperty;
        }