UnityEditor.View.SetMinMaxSizes C# (CSharp) Method

SetMinMaxSizes() private method

private SetMinMaxSizes ( Vector2 min, Vector2 max ) : void
min Vector2
max Vector2
return void
        internal void SetMinMaxSizes(Vector2 min, Vector2 max)
        {
            if ((this.minSize != min) || (this.maxSize != max))
            {
                this.m_MinSize = min;
                this.m_MaxSize = max;
                if (this.m_Parent != null)
                {
                    this.m_Parent.ChildrenMinMaxChanged();
                }
                if ((this.window != null) && (this.window.rootView == this))
                {
                    this.window.SetMinMaxSizes(min, max);
                }
            }
        }