/// <summary> /// Ends the page. /// </summary> public void EndPage() { if (this.IsVisible) { GUIHelper.PopLabelWidth(); GUIHelper.PopHierarchyMode(); if (this.tabGroup.IsAnimating) { GUI.color = this.prevColor; } EditorGUILayout.EndVertical(); } if (Event.current.type == EventType.Repaint) { this.isMessured = true; this.Order = pageIndexIncrementer++; } }