public void OnInspectorGUI(Action onValueChanged) { // blend mode. var newMode = (AudioMixerUpdateMode)EditorGUILayout.EnumPopup("Update Mode", updateMode); if (newMode != updateMode) { this.updateMode = newMode; onValueChanged(); } }
public AudioMixerModifier() { updateMode = AudioMixerUpdateMode.Normal; }