UnityEditor.AudioMixerControllerInspector.OnInspectorGUI C# (CSharp) Method

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void
        public override void OnInspectorGUI()
        {
            base.serializedObject.Update();
            EditorGUILayout.PropertyField(this.m_EnableSuspend, Texts.m_EnableSuspendLabel, new GUILayoutOption[0]);
            using (new EditorGUI.DisabledScope(!this.m_EnableSuspend.boolValue || this.m_EnableSuspend.hasMultipleDifferentValues))
            {
                EditorGUI.BeginChangeCheck();
                EditorGUI.s_UnitString = Texts.dB;
                float floatValue = this.m_SuspendThreshold.floatValue;
                floatValue = EditorGUILayout.PowerSlider(Texts.m_SuspendThresholdLabel, floatValue, AudioMixerController.kMinVolume, AudioMixerController.GetMaxVolume(), 1f, new GUILayoutOption[0]);
                EditorGUI.s_UnitString = null;
                if (EditorGUI.EndChangeCheck())
                {
                    this.m_SuspendThreshold.floatValue = floatValue;
                }
            }
            EditorGUILayout.PropertyField(this.m_UpdateMode, Texts.m_UpdateModeLabel, new GUILayoutOption[0]);
            base.serializedObject.ApplyModifiedProperties();
        }
AudioMixerControllerInspector