UnityEditor.TreeViewForAudioMixerGroup.GroupTreeViewGUI.GetTotalSize C# (CSharp) Method

GetTotalSize() public method

public GetTotalSize ( ) : Vector2
return Vector2
            public override Vector2 GetTotalSize()
            {
                if (base.m_TreeView.isSearching)
                {
                    Vector2 totalSize = base.GetTotalSize();
                    totalSize.x = 1f;
                    return totalSize;
                }
                if (this.m_RowRects.Count == 0)
                {
                    return new Vector2(1f, 1f);
                }
                Rect rect = this.m_RowRects[this.m_RowRects.Count - 1];
                return new Vector2(1f, rect.yMax);
            }