UnityEditor.GUILayoutInspectView.ShowOverlay C# (CSharp) Method

ShowOverlay() public method

public ShowOverlay ( ) : void
return void
        public override void ShowOverlay()
        {
            if (this.HasSelectedinstruction())
            {
                IMGUILayoutInstruction instruction = this.m_LayoutInstructions[base.m_ListViewState.row];
                RectOffset offset = new RectOffset {
                    left = instruction.marginLeft,
                    right = instruction.marginRight,
                    top = instruction.marginTop,
                    bottom = instruction.marginBottom
                };
                this.m_FakeMargingStyleForOverlay.padding = offset;
                Rect unclippedRect = instruction.unclippedRect;
                unclippedRect = offset.Add(unclippedRect);
                base.m_GuiViewDebuggerWindow.HighlightInstruction(base.m_GuiViewDebuggerWindow.m_Inspected, unclippedRect, this.m_FakeMargingStyleForOverlay);
            }
        }