UnityEngine.GUILayoutGroup.ApplyStyleSettings C# (CSharp) Method

ApplyStyleSettings() protected method

protected ApplyStyleSettings ( GUIStyle style ) : void
style GUIStyle
return void
        protected override void ApplyStyleSettings(GUIStyle style)
        {
            base.ApplyStyleSettings(style);
            RectOffset margin = style.margin;
            this.m_Margin.left = margin.left;
            this.m_Margin.right = margin.right;
            this.m_Margin.top = margin.top;
            this.m_Margin.bottom = margin.bottom;
        }