UnityEditor.GUILayoutInspectView.DoDrawInstruction C# (CSharp) Method

DoDrawInstruction() protected method

protected DoDrawInstruction ( ListViewElement el, int id ) : void
el ListViewElement
id int
return void
        protected override void DoDrawInstruction(ListViewElement el, int id)
        {
            IMGUILayoutInstruction instruction = this.m_LayoutInstructions[el.row];
            GUIContent content = GUIContent.Temp(this.GetInstructionListName(el.row));
            Rect position = el.position;
            position.xMin += instruction.level * 10;
            GUIViewDebuggerWindow.s_Styles.listItemBackground.Draw(position, false, false, base.m_ListViewState.row == el.row, false);
            GUIViewDebuggerWindow.s_Styles.listItem.Draw(position, content, id, base.m_ListViewState.row == el.row);
        }