UnityEngine.GUILayoutGroup.GUILayoutGroup C# (CSharp) Method

GUILayoutGroup() public method

public GUILayoutGroup ( GUIStyle _style, GUILayoutOption options ) : System
_style GUIStyle
options GUILayoutOption
return System
        public GUILayoutGroup(GUIStyle _style, GUILayoutOption[] options) : base(0f, 0f, 0f, 0f, _style)
        {
            this.entries = new List<GUILayoutEntry>();
            this.isVertical = true;
            this.resetCoords = false;
            this.spacing = 0f;
            this.sameSize = true;
            this.isWindow = false;
            this.windowID = -1;
            this.m_Cursor = 0;
            this.m_StretchableCountX = 100;
            this.m_StretchableCountY = 100;
            this.m_UserSpecifiedWidth = false;
            this.m_UserSpecifiedHeight = false;
            this.m_ChildMinWidth = 100f;
            this.m_ChildMaxWidth = 100f;
            this.m_ChildMinHeight = 100f;
            this.m_ChildMaxHeight = 100f;
            this.m_Margin = new RectOffset();
            if (options != null)
            {
                this.ApplyOptions(options);
            }
            this.m_Margin.left = _style.margin.left;
            this.m_Margin.right = _style.margin.right;
            this.m_Margin.top = _style.margin.top;
            this.m_Margin.bottom = _style.margin.bottom;
        }

Same methods

GUILayoutGroup::GUILayoutGroup ( ) : System