UnityEditor.PackageExportTreeView.DoIconAndText C# (CSharp) Method

DoIconAndText() private method

private DoIconAndText ( PackageExportTreeView item, Rect contentRect, bool selected, bool focused ) : void
item PackageExportTreeView
contentRect UnityEngine.Rect
selected bool
focused bool
return void
            private void DoIconAndText(PackageExportTreeView.PackageExportTreeViewItem item, Rect contentRect, bool selected, bool focused)
            {
                EditorGUIUtility.SetIconSize(new Vector2(base.k_IconWidth, base.k_IconWidth));
                GUIStyle lineStyle = TreeViewGUI.s_Styles.lineStyle;
                lineStyle.padding.left = 0;
                if (Event.current.type == EventType.Repaint)
                {
                    lineStyle.Draw(contentRect, GUIContent.Temp(item.displayName, this.GetIconForItem(item)), false, false, selected, focused);
                }
                EditorGUIUtility.SetIconSize(Vector2.zero);
            }