예제 #1
0
        public void OnInspectorGUI(Action onValueChanged)
        {
            // blend mode.
            var newMode = (AudioMixerUpdateMode)EditorGUILayout.EnumPopup("Update Mode", updateMode);

            if (newMode != updateMode)
            {
                this.updateMode = newMode;
                onValueChanged();
            }
        }
예제 #2
0
 public AudioMixerModifier()
 {
     updateMode = AudioMixerUpdateMode.Normal;
 }