public void OnGUI()
{
if (this.hasSelection && (Event.current.type == EventType.Repaint))
{
this.m_Layout = this.CalculateLayout();
this.m_SelectionBoxes[0].OnGUI(this.m_Layout.summaryRect);
this.m_SelectionBoxes[1].OnGUI(this.m_Layout.selectionRect);
this.m_SelectionScaleLeft.OnGUI(this.m_Layout.scaleLeftRect);
this.m_SelectionScaleRight.OnGUI(this.m_Layout.scaleRightRect);
this.DrawLabels();
}
}