UnityEditor.LightingWindow.DrawSettingsGUI C# (CSharp) Method

DrawSettingsGUI() private method

private DrawSettingsGUI ( ) : void
return void
        private void DrawSettingsGUI()
        {
            Vector2 vector = EditorStyles.iconButton.CalcSize(EditorGUI.GUIContents.titleSettingsIcon);
            Rect position = GUILayoutUtility.GetRect(vector.x, vector.y);
            if (EditorGUI.ButtonMouseDown(position, EditorGUI.GUIContents.titleSettingsIcon, FocusType.Passive, EditorStyles.iconButton))
            {
                GUIContent[] options = new GUIContent[] { new GUIContent("Reset") };
                EditorUtility.DisplayCustomMenu(position, options, -1, new EditorUtility.SelectMenuItemFunction(this.ResetSettings), null);
            }
        }