public override void OnInspectorGUI()
{
base.serializedObject.Update();
EditorGUI.BeginChangeCheck();
EditorGUILayout.PropertyField(this.m_ReverbPreset, new GUILayoutOption[0]);
if (EditorGUI.EndChangeCheck())
{
base.serializedObject.SetIsDifferentCacheDirty();
}
using (new EditorGUI.DisabledScope((this.m_ReverbPreset.enumValueIndex != 0x1b) || this.m_ReverbPreset.hasMultipleDifferentValues))
{
EditorGUILayout.Slider(this.m_DryLevel, -10000f, 0f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_Room, -10000f, 0f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_RoomHF, -10000f, 0f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_RoomLF, -10000f, 0f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_DecayTime, 0.1f, 20f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_DecayHFRatio, 0.1f, 2f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_ReflectionsLevel, -10000f, 1000f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_ReflectionsDelay, 0f, 0.3f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_ReverbLevel, -10000f, 2000f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_ReverbDelay, 0f, 0.1f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_HFReference, 1000f, 20000f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_LFReference, 20f, 1000f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_Diffusion, 0f, 100f, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_Density, 0f, 100f, new GUILayoutOption[0]);
}
base.serializedObject.ApplyModifiedProperties();
}
}