private void BumpGUI(TextureInspectorGUIElement guiElements)
{
EditorGUI.BeginChangeCheck();
this.ToggleFromInt(this.m_ConvertToNormalMap, s_Styles.generateFromBump);
this.m_ShowBumpGenerationSettings.target = this.m_ConvertToNormalMap.intValue > 0;
if (EditorGUILayout.BeginFadeGroup(this.m_ShowBumpGenerationSettings.faded))
{
EditorGUI.indentLevel++;
EditorGUILayout.Slider(this.m_HeightScale, 0f, 0.3f, s_Styles.bumpiness, new GUILayoutOption[0]);
EditorGUILayout.Popup(this.m_NormalMapFilter, s_Styles.bumpFilteringOptions, s_Styles.bumpFiltering, new GUILayoutOption[0]);
EditorGUI.indentLevel--;
}
EditorGUILayout.EndFadeGroup();
if (EditorGUI.EndChangeCheck())
{
this.SyncPlatformSettings();
}
}