protected void DoAnisoLevelSlider() { EditorGUI.BeginChangeCheck(); EditorGUI.showMixedValue = this.m_Aniso.hasMultipleDifferentValues; int anisoLevel = EditorGUILayout.IntSlider("Aniso Level", this.m_Aniso.intValue, 0, 16, new GUILayoutOption[0]); EditorGUI.showMixedValue = false; if (EditorGUI.EndChangeCheck()) { this.m_Aniso.intValue = anisoLevel; } TextureInspector.DoAnisoGlobalSettingNote(anisoLevel); }