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);
}
}
}