public override void OnInspectorGUI()
{
base.serializedObject.Update();
EditorGUILayout.PropertyField(this.m_MinDistance, new GUILayoutOption[0]);
EditorGUILayout.PropertyField(this.m_MaxDistance, new GUILayoutOption[0]);
EditorGUILayout.Space();
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.IntSlider(this.m_Room, -10000, 0, new GUILayoutOption[0]);
EditorGUILayout.IntSlider(this.m_RoomHF, -10000, 0, new GUILayoutOption[0]);
EditorGUILayout.IntSlider(this.m_RoomLF, -10000, 0, 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.IntSlider(this.m_Reflections, -10000, 0x3e8, new GUILayoutOption[0]);
EditorGUILayout.Slider(this.m_ReflectionsDelay, 0f, 0.3f, new GUILayoutOption[0]);
EditorGUILayout.IntSlider(this.m_Reverb, -10000, 0x7d0, 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_RoomRolloffFactor, 0f, 10f, 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();
}